[Bash-completion-commits] [SCM] bash-completion branch, master, updated. dda8896d0c7bfdaa1c859c87f034cd75e3fd1272

Ville Skyttä ville.skytta at iki.fi
Fri Apr 2 06:37:59 UTC 2010


The following commit has been merged in the master branch:
commit dda8896d0c7bfdaa1c859c87f034cd75e3fd1272
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Apr 2 09:37:39 2010 +0300

    cdiff can show compressed diffs.

diff --git a/bash_completion b/bash_completion
index 4831c48..d14d0af 100644
--- a/bash_completion
+++ b/bash_completion
@@ -120,7 +120,8 @@ 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
+complete -f -X '!*.@(dif?(f)|?(d)patch)?(.@([gx]z|bz2|lzma))' cdiff
+complete -f -X '!*.@(dif?(f)|?(d)patch)' 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