The following commit has been merged in the master branch:
commit f0682b2d89142df355c2434cabf569c41c215d05
Author: Igor Murzov <[email protected]>
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

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

Reply via email to