From 33351b14f6195b483d5007749251087d1f6ea1df Mon Sep 17 00:00:00 2001 From: Omari Norman Date: Sat, 26 Jul 2014 20:53:16 +0200 Subject: 32817: Add completion for moosic --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 874850f18..f71be456e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-07-03 Axel Beckert + + * Omari Norman: 32817: Add completion for moosic. + 2014-07-24 Barton E. Schaefer * 32853: configure.ac, Src/mem.c, Src/zsh_system.h: redefine -- cgit 1.4.1 From a7d7c77b7b635841198a732d76135d6097dd7aef Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sat, 26 Jul 2014 21:57:39 +0200 Subject: 32816: Add completion for bpython and variants --- ChangeLog | 3 +++ Completion/Unix/Command/_bpython | 46 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 Completion/Unix/Command/_bpython (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index f71be456e..2f1d6e135 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ * Omari Norman: 32817: Add completion for moosic. + * Sebastian Ramacher: 32816: Add completion for bpython and + variants. + 2014-07-24 Barton E. Schaefer * 32853: configure.ac, Src/mem.c, Src/zsh_system.h: redefine diff --git a/Completion/Unix/Command/_bpython b/Completion/Unix/Command/_bpython new file mode 100644 index 000000000..e83547853 --- /dev/null +++ b/Completion/Unix/Command/_bpython @@ -0,0 +1,46 @@ +#compdef bpython bpython-gtk bpython-urwid + +local -a all_opts urwid_opts gtk_opts + +all_opts=( + '--config[configuration file]:config file:_files' + '-h --help[show help message]' + '(-i --interactive)'{-i,--interactive}'[drop to bpython after running a file]' + '(-q --quiet)'{-q,--quiet}'[do not flush the output to stdout]' + '(-V --version)'{-V,--version}'[print version]' + '1:script:_files -g "*.u#py(-.)"' + '*:arguments:' +) + +urwid_opts=( + '(-r --reactor)'{-r,--reactor}'[use Twisted reactor instead of the event loop]:reactor:' + '--help-reactors[display list of available Twisted reactors]' + '(-p --plugin)'{-p,--plugin}'[exectue a twistd plugin]:plugin:' + '(-s --server)'{-s,--server}'[run an eval server on the given port]:port:' +) + +gtk_opts=( + '--socket-id[embed bpython]:socket id:' +) + +case "$service" in + bpython) + _arguments \ + "$all_opts[@]" && return 0 + ;; + + bpython-urwid) + _arguments \ + "$all_opts[@]" \ + "$urwid_opts[@]" && return 0 + ;; + + bpython-gtk) + _arguments \ + "$all_opts[@]" \ + "$gtk_opts[@]" && return 0 + ;; +esac + + +# vim:autoindent expandtab shiftwidth=2 tabstop=2 softtabstop=2 filetype=zsh -- cgit 1.4.1 From efde0a129622e6f400b8d29ce6792aac0a5bb2e9 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Sat, 26 Jul 2014 22:11:24 +0200 Subject: 32911: Expand bpython completion to bpython2 and bpython3 --- ChangeLog | 2 ++ Completion/Unix/Command/_bpython | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 2f1d6e135..aa68fae7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,8 @@ * Sebastian Ramacher: 32816: Add completion for bpython and variants. + * 32911: Expand bpython completion to bpython2 and bpython3. + 2014-07-24 Barton E. Schaefer * 32853: configure.ac, Src/mem.c, Src/zsh_system.h: redefine diff --git a/Completion/Unix/Command/_bpython b/Completion/Unix/Command/_bpython index e83547853..c51cc8c3c 100644 --- a/Completion/Unix/Command/_bpython +++ b/Completion/Unix/Command/_bpython @@ -1,4 +1,4 @@ -#compdef bpython bpython-gtk bpython-urwid +#compdef bpython bpython-gtk bpython-urwid bpython2 bpython2-gtk bpython2-urwid bpython3 bpython3-gtk bpython3-urwid local -a all_opts urwid_opts gtk_opts @@ -24,18 +24,18 @@ gtk_opts=( ) case "$service" in - bpython) + bpython|bpython2|bpython3) _arguments \ "$all_opts[@]" && return 0 ;; - bpython-urwid) + bpython-urwid|bpython2-urwid|bpython3-urwid) _arguments \ "$all_opts[@]" \ "$urwid_opts[@]" && return 0 ;; - bpython-gtk) + bpython-gtk|bpython2-gtk|bpython3-gtk) _arguments \ "$all_opts[@]" \ "$gtk_opts[@]" && return 0 -- cgit 1.4.1 From 05ce4f2a0b7a4ecbf5f893efcfd94fb627a71861 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Sat, 26 Jul 2014 22:17:53 +0200 Subject: unposted: Fix copy and paste error in the current changelog entry's date --- ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index aa68fae7f..f355c09c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -2014-07-03 Axel Beckert +2014-07-26 Axel Beckert * Omari Norman: 32817: Add completion for moosic. -- cgit 1.4.1