From bc6f14445f26043c1c89cbb25caebe394fb7b03b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 6 Mar 2010 14:05:41 +0200 Subject: [PATCH] Do basic diff/patch completion with cdiff and kompare. --- CHANGES | 1 + bash_completion | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index 630af854..9939e59c 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 4da6689e..b008aa4b 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