[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-235-g26ae770

Igor Murzov igor at gplsoft.org
Mon May 2 10:26:54 UTC 2011


The following commit has been merged in the master branch:
commit 44082bc1856400d1643a6af0a59b1a0fc1cee514
Author: Igor Murzov <igor at gplsoft.org>
Date:   Sun May 23 16:15:17 2010 +0400

    Use -o plusdirs instead of -o dirnames for {install,upgrade,explode}pkg
    
    as we want to install packages from subfolders too

diff --git a/contrib/pkgtools b/contrib/pkgtools
index 87cd40e..85e5d99 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[bglx]z' installpkg upgradepkg explodepkg
+    complete -o plusdirs -f -X '!*.t[bglx]z' installpkg upgradepkg explodepkg
 
 # Local variables:
 # mode: shell-script

-- 
bash-completion



More information about the Bash-completion-commits mailing list