[Bash-completion-commits] [SCM] bash-completion branch, master, updated. bc6f14445f26043c1c89cbb25caebe394fb7b03b
Ville Skyttä
ville.skytta at iki.fi
Sat Mar 6 12:06:15 UTC 2010
The following commit has been merged in the master branch:
commit bc6f14445f26043c1c89cbb25caebe394fb7b03b
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sat Mar 6 14:05:41 2010 +0200
Do basic diff/patch completion with cdiff and kompare.
diff --git a/CHANGES b/CHANGES
index 630af85..9939e59 100644
--- a/CHANGES
+++ b/CHANGES
@@ -55,6 +55,7 @@ bash-completion (2.x)
* Split mount and umount completion into contrib/mount.
* Do basic HTML file completion with Firefox and Chrome and friends,
and Epiphany.
+ * Do basic diff/patch completion with cdiff and kompare.
[ Freddy Vulto ]
* Added _get_pword() helper function, thanks to Sung Pae (Alioth: #312030)
diff --git a/bash_completion b/bash_completion
index 4da6689..b008aa4 100644
--- a/bash_completion
+++ b/bash_completion
@@ -121,6 +121,7 @@ complete -f -X '!*.po' poedit gtranslator kbabel lokalize
complete -f -X '!*.@([Pp][Rr][Gg]|[Cc][Ll][Pp])' harbour gharbour hbpp
complete -f -X '!*.[Hh][Rr][Bb]' hbrun
complete -f -X '!*.ly' lilypond ly2dvi
+complete -f -X '!*.@(dif?(f)|?(d)patch)' cdiff kompare
# FINISH exclude -- do not remove this line
# start of section containing compspecs that can be handled within bash
--
bash-completion
More information about the Bash-completion-commits
mailing list