diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2014-07-26 22:11:24 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2014-07-26 22:11:24 +0200 |
commit | efde0a129622e6f400b8d29ce6792aac0a5bb2e9 (patch) | |
tree | 0d773d3f098e13a806b0f5e3d3aa8b447d3792ce | |
parent | a7d7c77b7b635841198a732d76135d6097dd7aef (diff) | |
download | zsh-efde0a129622e6f400b8d29ce6792aac0a5bb2e9.tar.gz zsh-efde0a129622e6f400b8d29ce6792aac0a5bb2e9.tar.xz zsh-efde0a129622e6f400b8d29ce6792aac0a5bb2e9.zip |
32911: Expand bpython completion to bpython2 and bpython3
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Completion/Unix/Command/_bpython | 8 |
2 files changed, 6 insertions, 4 deletions
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 <schaefer@zsh.org> * 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 |