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

Ville Skyttä ville.skytta at iki.fi
Sun Mar 7 19:04:15 UTC 2010


The following commit has been merged in the master branch:
commit fca102412ed017631ffb5e6085bd6f9d9bc0d112
Author: Michele Ballabio <barra_cuda at katamail.com>
Date:   Sun Mar 7 15:51:13 2010 +0100

    Add *.t[bl]z support for pkgtools
    
    pkgtools also supports tbz (bzip2) and tlz (lzma) compression
    formats since april 2009.

diff --git a/CHANGES b/CHANGES
index 9939e59..0ec9e06 100644
--- a/CHANGES
+++ b/CHANGES
@@ -276,6 +276,10 @@ bash-completion (1.1)
   * Fix leaking $muttcmd from mutt completion
   * Fix completing multiple hosts (Debian: #535585)
 
+  [ Michele Ballabio ]
+
+  * Add more extensions to pkgtools completion.
+
  -- David Paleino <d.paleino at gmail.com>  Sat, 03 Oct 2009 15:41:49 +0200
 
 bash-completion (1.0)
diff --git a/contrib/pkgtools b/contrib/pkgtools
index aa8ecbf..87cd40e 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 '!*.t[gx]z' installpkg upgradepkg explodepkg
+    complete -o dirnames -f -X '!*.t[bglx]z' installpkg upgradepkg explodepkg
 
 # Local variables:
 # mode: shell-script

-- 
bash-completion



More information about the Bash-completion-commits mailing list