Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Fwd: [Pkg-zsh-devel] Bug#691714: zsh: please add completion for bpython [origin: sebastian@xxxxxxxxxxx]


On Sat, Jun 28, 2014 at 02:58:39PM +0200, Axel Beckert wrote:
> attached a new completion for the bpython command. Initially reported
> in Debian at https://bugs.debian.org/691714 .
> #compdef bpython bpython-gtk bpython-urwid
> case "$service" in
>   bpython)
>     _arguments \
>       "$all_opts[@]" && return 0
>   ;;

JFTR: I'll commit this soon, but will include one small modification:

Instead of just completing for bpython, I'll also let it complete for
bpython2 (python2 version on at least ArchLinux which has python3 as default) and
bpython3 (python3 version on at least Debian which has python2 as default)

		Kind regards, Axel
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@xxxxxxxxxxxxxxx  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | abe@xxxxxxxxx (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)

Messages sorted by: Reverse Date, Date, Thread, Author