The following commit has been merged in the master branch:
commit dda8896d0c7bfdaa1c859c87f034cd75e3fd1272
Author: Ville Skyttä <[email protected]>
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

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to