summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Zsh/Command/_which2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f0e744d6c..d85472851 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2025-11-17 Oliver Kiddle <opk@zsh.org>
+ * Christopher Bock: 54084: Completion/Zsh/Command/_which: use
+ _numbers for whence -x
+
* 54074, 54082: Doc/Zsh/zle.yo, Src/prompt.c, Src/Zle/termquery.c,
Src/Zle/zle_main.c, Src/Zle/zle_refresh.c, Src/Modules/nearcolor.c,
Test/X04zlehighlight.ztst: add an opaque key for use in
diff --git a/Completion/Zsh/Command/_which b/Completion/Zsh/Command/_which
index 8e528f552..7eb5129ab 100644
--- a/Completion/Zsh/Command/_which
+++ b/Completion/Zsh/Command/_which
@@ -11,7 +11,7 @@ cargs=( \
'*:commands:->command' )
farg='-f[output contents of functions]'
aarg='-a[print all occurrences in path]'
-xarg='-x+[specify spaces to use for indentation in function expansion]:spaces'
+xarg='-x+[specify spaces to use for indentation in function expansion]: :_numbers -u spaces -d 8'
case ${service} in
whence)