zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] Completion/Unix/Commands/_bzr: added a support for cdiff command
@ 2011-07-14 20:02 Matthieu Baerts
  0 siblings, 0 replies; only message in thread
From: Matthieu Baerts @ 2011-07-14 20:02 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 606 bytes --]

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 #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-14 20:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-14 20:02 [PATCH] Completion/Unix/Commands/_bzr: added a support for cdiff command Matthieu Baerts

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).