mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 21:03:12 +00:00
Fix completions for which and type, which where broken by previous script updates
darcs-hash:20061030015221-ac50b-e4a0f2802e7a5dc4a1e594933f25cae00d9ea104.gz
This commit is contained in:
parent
f83575f084
commit
63643ff17f
2 changed files with 2 additions and 2 deletions
|
@ -8,5 +8,5 @@ complete -c type -s P -l force-path -d (N_ "Print path to command")
|
|||
|
||||
complete -c type -a "(builtin -n)" -d (N_ "Builtin")
|
||||
complete -c type -a "(functions -n)" -d (N_ "Function")
|
||||
complete -c type -a "(__fish_complete_command)" -d (N_ "Command")
|
||||
|
||||
complete -c type -a "(commandline -ct)(complete -C(commandline -ct))" -x
|
||||
|
|
|
@ -12,4 +12,4 @@ complete -c which -l tty-only -d (N_ "Stop processing options on the right if no
|
|||
complete -c which -s v -s V -l version -d (N_ "Display version and exit")
|
||||
complete -c which -l help -d (N_ "Display help and exit")
|
||||
|
||||
complete -c which -a "(__fish_complete_command)" -d "Command" -x
|
||||
complete -c which -a "(commandline -ct)(complete -C(commandline -ct))" -x
|
||||
|
|
Loading…
Reference in a new issue