Hi, attached a new completion for the bpython command. Initially reported in Debian at https://bugs.debian.org/691714 . 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)
--- Begin Message ---
- From: Sebastian Ramacher <sebastian@xxxxxxxxxxx>
- To: Debian Bug Tracking System <submit@xxxxxxxxxxxxxxx>
- Subject: [Pkg-zsh-devel] Bug#691714: zsh: please add completion for bpython
- Date: Sun, 28 Oct 2012 23:06:52 +0100
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ramacher.at; s=mail; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=GWfpO5KsoPyPZraGMvDl0o0avgOPg7I5SAmlS+AUu7o=; b=Nhk3Qmk6cUZ860o8rZUFNhiNQkado790Y8iLhMxXItXzUnp6yqt+w299Z03sVrQhm9seWJei9YhWKTwi99zqYp702BU2B52WxlflzHHAqqIVa+Kj/Pa+1wHc0rWBLesY5Zn1rBVvCR39fF2a9irMt1jqUBPxjzZUZ2QAQL9W6s8=;
- List-archive: <http://lists.alioth.debian.org/pipermail/pkg-zsh-devel>
- List-help: <mailto:pkg-zsh-devel-request@lists.alioth.debian.org?subject=help>
- List-id: Development Mailinglist for the Debian packaging of Zsh <pkg-zsh-devel.lists.alioth.debian.org>
- List-post: <mailto:pkg-zsh-devel@lists.alioth.debian.org>
- List-subscribe: <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-zsh-devel>, <mailto:pkg-zsh-devel-request@lists.alioth.debian.org?subject=subscribe>
- List-unsubscribe: <http://lists.alioth.debian.org/cgi-bin/mailman/options/pkg-zsh-devel>, <mailto:pkg-zsh-devel-request@lists.alioth.debian.org?subject=unsubscribe>
- Reply-to: Sebastian Ramacher <sebastian@xxxxxxxxxxx>, 691714@xxxxxxxxxxxxxxx
- Sender: pkg-zsh-devel-bounces+abe=debian.org@xxxxxxxxxxxxxxxxxxxxxxx
Package: zsh Version: 5.0.0-2 Severity: wishlist Tags: patch Please add completion for bpython and its variants. The attached file implements Completion for bpython, -urwid and -gtk. Regards -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (650, 'unstable'), (601, 'testing'), (600, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages zsh depends on: ii libc6 2.13-36 ii libcap2 1:2.22-1.2 ii libtinfo5 5.9-10 Versions of packages zsh recommends: ii libc6 2.13-36 ii libncursesw5 5.9-10 ii libpcre3 1:8.31-1 Versions of packages zsh suggests: ii zsh-doc 4.3.17-1 -- no debconf information -- debsums errors found: debsums: changed file /usr/share/zsh/functions/Completion/Debian/_dpkg (from zsh package) debsums: changed file /usr/share/zsh/functions/Completion/Debian/_apt (from zsh package) debsums: changed file /usr/share/zsh/functions/Completion/Unix/_python (from zsh package) -- Sebastian Ramacher#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=zshAttachment: signature.asc
Description: Digital signature_______________________________________________ Pkg-zsh-devel mailing list Pkg-zsh-devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-zsh-devel
--- End Message ---