mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
parent
3cda5ac59b
commit
84fe46e763
1 changed files with 3 additions and 4 deletions
|
@ -14,10 +14,9 @@ end
|
||||||
# This completion reenables file completion on
|
# This completion reenables file completion on
|
||||||
# assignments, so e.g. 'make foo FILES=<tab>' will receive standard
|
# assignments, so e.g. 'make foo FILES=<tab>' will receive standard
|
||||||
# filename completion.
|
# filename completion.
|
||||||
complete -c make -n 'commandline -ct | string match "*=*"'
|
complete -c make -n 'commandline -ct | string match -q "*=*"' -a "(__fish_complete_make_targets (commandline -c))" -d "Target"
|
||||||
|
complete -f -c make -n 'commandline -ct | not string match -q "*=*"' -a "(__fish_complete_make_targets (commandline -c))" -d "Target"
|
||||||
complete -x -c make -a "(__fish_complete_make_targets (commandline -c))" -d "Target"
|
complete -c make -s f -d "Use file as makefile" -r
|
||||||
complete -r -c make -s f -d "Use file as makefile" -r
|
|
||||||
complete -x -c make -s C -l directory -x -a "(__fish_complete_directories (commandline -ct))" -d "Change directory"
|
complete -x -c make -s C -l directory -x -a "(__fish_complete_directories (commandline -ct))" -d "Change directory"
|
||||||
complete -c make -s d -d "Debug mode"
|
complete -c make -s d -d "Debug mode"
|
||||||
complete -c make -s e -d "Environment before makefile"
|
complete -c make -s e -d "Environment before makefile"
|
||||||
|
|
Loading…
Reference in a new issue