summaryrefslogtreecommitdiffstats
path: root/Completion/Builtins/_which
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-02-26 13:02:30 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-02-26 13:02:30 +0000
commit006e9b9afba10e2e64d86538fe5777376c8f0f57 (patch)
tree4cba2693f257bb5392faa929731bf5bcfdff8de0 /Completion/Builtins/_which
parentproperly restore noaliases in bufferwords() (13530) (diff)
downloadzsh-006e9b9afba10e2e64d86538fe5777376c8f0f57.tar
zsh-006e9b9afba10e2e64d86538fe5777376c8f0f57.tar.gz
zsh-006e9b9afba10e2e64d86538fe5777376c8f0f57.tar.bz2
zsh-006e9b9afba10e2e64d86538fe5777376c8f0f57.tar.lz
zsh-006e9b9afba10e2e64d86538fe5777376c8f0f57.tar.xz
zsh-006e9b9afba10e2e64d86538fe5777376c8f0f57.tar.zst
zsh-006e9b9afba10e2e64d86538fe5777376c8f0f57.zip
change $words[1] to $service in some more places (13534)
Diffstat (limited to 'Completion/Builtins/_which')
-rw-r--r--Completion/Builtins/_which2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Builtins/_which b/Completion/Builtins/_which
index aceec85a0..da78b9358 100644
--- a/Completion/Builtins/_which
+++ b/Completion/Builtins/_which
@@ -11,7 +11,7 @@ cargs=( \
farg='-f[output contents of functions]'
aarg='-a[print all occurences in path]'
-case ${words[1]} in
+case ${service} in
whence)
_arguments -C -s \
'(-c -w)-v[verbose output]' \