Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Completion/Unix/Commands/_bzr: added a support for cdiff command
- X-seq: zsh-workers 29547
- From: Matthieu Baerts <matttbe@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] Completion/Unix/Commands/_bzr: added a support for cdiff command
- Date: Thu, 14 Jul 2011 22:02:02 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:date:content-type:x-mailer:message-id:mime-version; bh=QR77H+wt7gG+PHRpMZg/T0qLcUpJFHHdAudrW4xRLOE=; b=Yivt01EH4xYeTmqdka0Iz7EkYrJp2kUkJKOcsC6/ni1i/ryrLMFiQaFJFdv3UiQTXX rB7A3lkWCecJA4mluaeLWRDKIBVye80+rGDjS6GmWla6Lt8GM6yynDYJzCIcUtUNfZqu 2N/GY51bNtSQgJnRZNCYfqzZ36ag+zcZ6T15c=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hello,
The current bzr completion command has a support for diff, dif and di
but not for cdiff (which I often use). This is the tiny patch:
-----
diff --git a/Completion/Unix/Command/_bzr b/Completion/Unix/Command/_bzr
index 47083ca..83f6fd1 100644
--- a/Completion/Unix/Command/_bzr
+++ b/Completion/Unix/Command/_bzr
@@ -259,7 +259,7 @@ case $cmd in
)
;;
-(diff|dif|di)
+(diff|dif|di|cdiff)
args+=(
'(-r --revision)'{--revision=,-r}'[revision]:revision:'
'--diff-options=[options to pass to gdiff]:diff options:'
-----
PS: thanks to all for this great project!
Attachment:
signature.asc
Description: This is a digitally signed message part
Messages sorted by:
Reverse Date,
Date,
Thread,
Author