aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/which.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-10-30 11:52:21 +1000
committerGravatar axel <axel@liljencrantz.se>2006-10-30 11:52:21 +1000
commit63643ff17f994e537f39ccdccb1cb229fa02ce0b (patch)
tree605b178e8e30c31065d75f74df4253b896624b5c /share/completions/which.fish
parentf83575f08447e91d9c26f3e9ff302b428b2c14a9 (diff)
Fix completions for which and type, which where broken by previous script updates
darcs-hash:20061030015221-ac50b-e4a0f2802e7a5dc4a1e594933f25cae00d9ea104.gz
Diffstat (limited to 'share/completions/which.fish')
-rw-r--r--share/completions/which.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/which.fish b/share/completions/which.fish
index 4d888388..16c1b7c4 100644
--- a/share/completions/which.fish
+++ b/share/completions/which.fish
@@ -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