Package: zsh Version: 4.3.10-1 Severity: wishlist Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu ubuntu-patch karmic
This bug was originally filed as https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/329303. zsh should complete the 'bzr switch' subcommand, added in bzr 1.0rc1. Attached is a patch against the master branch of git://git.debian.org/git/private/schizo/zsh.git. Thanks, -- Colin Watson [cjwat...@ubuntu.com]
diff --git a/Completion/Unix/Command/_bzr b/Completion/Unix/Command/_bzr index 70c9bcd..a757a10 100644 --- a/Completion/Unix/Command/_bzr +++ b/Completion/Unix/Command/_bzr @@ -331,6 +331,16 @@ case $cmd in ) ;; +(switch) + args+=( + '--force[Switch even if local commits will be lost]' + '(-q --quiet -v --verbose)'{--quiet,-q}'[be quiet]' + '(-v --verbose -q --quiet)'{--verbose,-v}'[display more information]' + '*:local repository:_files -/' + ) + _bzr_completeParents + ;; + (help) args=( '(-l --long)'{--long,-l}'[use long format]'