[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-283-g0bc2bb5
Ville Skyttä
ville.skytta at iki.fi
Wed May 11 16:42:15 UTC 2011
The following commit has been merged in the master branch:
commit a593f4512ac9f0ae145a4f8eaa1e35b99eaab534
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Wed May 11 19:31:13 2011 +0300
make: Add bunch of option argument completions.
diff --git a/completions/make b/completions/make
index f4fd6fa..12dfad4 100644
--- a/completions/make
+++ b/completions/make
@@ -10,14 +10,22 @@ _make()
local file makef makef_dir="." makef_inc i
case $prev in
- -f|-o|-W|--file|--makefile|--old-file|--new-file|--assume-old|--assume-new|--what-if)
+ -f|--file|--makefile|-o|--old-file|--assume-old|-W|--what-if|\
+ --new-file|--assume-new)
_filedir
return 0
;;
- -I|-C|--directory|--include-dir)
+ -I|--include-dir|-C|--directory|-m)
_filedir -d
return 0
;;
+ -E)
+ COMPREPLY=( $( compgen -v -- "$cur" ) )
+ return 0
+ ;;
+ --eval|-D|-V|-x)
+ return 0
+ ;;
esac
$split && return 0
--
bash-completion
More information about the Bash-completion-commits
mailing list