mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 17:51:15 -03: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user