Fix completions for which and type, which where broken by previous script updates

darcs-hash:20061030015221-ac50b-e4a0f2802e7a5dc4a1e594933f25cae00d9ea104.gz
This commit is contained in:
axel 2006-10-30 11:52:21 +10:00
parent f83575f084
commit 63643ff17f
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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