The following commit has been merged in the master branch:
commit a17930f8dd10b444c9988fe56e98f099eddb0c5f
Author: Ville Skyttä <[email protected]>
Date:   Tue Apr 7 22:20:26 2009 +0300

    Fix dir-only completion for make to include only dirs, not files.

diff --git a/CHANGES b/CHANGES
index 684eebc..2ff9131 100644
--- a/CHANGES
+++ b/CHANGES
@@ -12,6 +12,7 @@ bash-completion (1.x)
   * Add chkconfig --override and resetpriorities completions.
   * Split mplayer and friends completions to contrib/mplayer.
   * Parse top level mplayer and friends option completions from -list-options.
+  * Fix dir-only completion for make to include only dirs, not files.
 
   [ Todd Zullinger ]
   * Make yum complete on filenames after install, deplist, update and upgrade
diff --git a/bash_completion b/bash_completion
index 31af0c9..688adbd 100644
--- a/bash_completion
+++ b/bash_completion
@@ -2992,7 +2992,7 @@ _make()
 
        fi
 } &&
-complete -f -F _make $filenames make gmake gnumake pmake
+complete -F _make $filenames make gmake gnumake pmake
 
 # GNU tar(1) completion
 #

-- 
bash-completion

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

Reply via email to