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

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


The following commit has been merged in the master branch:
commit f0682b2d89142df355c2434cabf569c41c215d05
Author: Igor Murzov <igor at gplsoft.org>
Date:   Sun May 30 13:35:00 2010 +0400

    makepkg(8) should complete filenames

diff --git a/contrib/pkgtools b/contrib/pkgtools
index c08241f..8b376f9 100644
--- a/contrib/pkgtools
+++ b/contrib/pkgtools
@@ -115,7 +115,9 @@ _makepkg()
             return 0
             ;;
     esac
-} && complete -F _makepkg makepkg
+
+    _filedir
+} && complete -F _makepkg -o filenames makepkg
 
 have explodepkg && [ -f /etc/slackware-version ] &&
 complete -o plusdirs -f -X '!*.t[bglx]z' explodepkg

-- 
bash-completion



More information about the Bash-completion-commits mailing list