summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Zsh/Command/_which2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e8107e922..5a8f804ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-05-14 dana@dana.is <dana@dana.is>
+
+ * github #133: Christopher Bock: Completion/Zsh/Command/_which:
+ complete `whence -x`
+
2025-05-14 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Doc/Zsh/options.yo, Test/E01options.ztst: Remove
diff --git a/Completion/Zsh/Command/_which b/Completion/Zsh/Command/_which
index 9b789c86b..8e528f552 100644
--- a/Completion/Zsh/Command/_which
+++ b/Completion/Zsh/Command/_which
@@ -18,7 +18,7 @@ case ${service} in
_arguments -C -s -A "-*" -S \
'(-c -w)-v[verbose output]' \
'(-v -w)-c[csh-like output]' \
- "${cargs[@]}" "$farg" "$aarg" && ret=0
+ "${cargs[@]}" "$farg" "$aarg" "$xarg" && ret=0
;;
where) _arguments -C -s -A "-*" -S "${cargs[@]}" "$xarg" && ret=0;;
which) _arguments -C -s -A "-*" -S "${cargs[@]}" "$aarg" "$xarg" && ret=0;;