make: Add bunch of option argument completions.
This commit is contained in:
parent
7c6cca0630
commit
a593f4512a
@ -10,14 +10,22 @@ _make()
|
|||||||
local file makef makef_dir="." makef_inc i
|
local file makef makef_dir="." makef_inc i
|
||||||
|
|
||||||
case $prev in
|
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
|
_filedir
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
-I|-C|--directory|--include-dir)
|
-I|--include-dir|-C|--directory|-m)
|
||||||
_filedir -d
|
_filedir -d
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
-E)
|
||||||
|
COMPREPLY=( $( compgen -v -- "$cur" ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
|
--eval|-D|-V|-x)
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
$split && return 0
|
$split && return 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user