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

Ville Skyttä ville.skytta at iki.fi
Thu Mar 4 18:27:51 UTC 2010


The following commit has been merged in the master branch:
commit cf5e514efb1b0f48690666a92d5e06e651e962dd
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu Mar 4 20:26:49 2010 +0200

    Add *.txz support (Alioth: #312384).

diff --git a/contrib/pkgtools b/contrib/pkgtools
index 4a6b068..aa8ecbf 100644
--- a/contrib/pkgtools
+++ b/contrib/pkgtools
@@ -11,7 +11,7 @@ _removepkg()
     COMPREPLY=( $( (cd /var/log/packages; compgen -f -- "$cur") ) )
 } &&
 complete -F _removepkg -o filenames removepkg &&
-    complete -o dirnames -f -X '!*.tgz' installpkg upgradepkg explodepkg
+    complete -o dirnames -f -X '!*.t[gx]z' installpkg upgradepkg explodepkg
 
 # Local variables:
 # mode: shell-script

-- 
bash-completion



More information about the Bash-completion-commits mailing list