* Re: Bug#531549: zsh: completion for bzr switch
[not found] <20090602090141.GS7367@riva.ucam.org>
@ 2009-06-02 18:04 ` Clint Adams
0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2009-06-02 18:04 UTC (permalink / raw)
To: Colin Watson, 531549; +Cc: zsh-workers
On Tue, Jun 02, 2009 at 10:01:41AM +0100, Colin Watson wrote:
> 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.
Index: Completion/Unix/Command/_bzr
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_bzr,v
retrieving revision 1.9
diff -u -r1.9 _bzr
--- Completion/Unix/Command/_bzr 7 Nov 2008 02:34:51 -0000 1.9
+++ Completion/Unix/Command/_bzr 2 Jun 2009 18:03:53 -0000
@@ -331,6 +331,16 @@
)
;;
+(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]'
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-02 18:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20090602090141.GS7367@riva.ucam.org>
2009-06-02 18:04 ` Bug#531549: zsh: completion for bzr switch Clint Adams
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).