zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <schizo@debian.org>
To: Colin Watson <cjwatson@ubuntu.com>, 531549@bugs.debian.org
Cc: zsh-workers@sunsite.dk
Subject: Re: Bug#531549: zsh: completion for bzr switch
Date: Tue, 2 Jun 2009 18:04:46 +0000	[thread overview]
Message-ID: <20090602180446.GA13749@scru.org> (raw)
In-Reply-To: <20090602090141.GS7367@riva.ucam.org>

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]'


           reply	other threads:[~2009-06-02 18:12 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20090602090141.GS7367@riva.ucam.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090602180446.GA13749@scru.org \
    --to=schizo@debian.org \
    --cc=531549@bugs.debian.org \
    --cc=cjwatson@ubuntu.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).