1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-06-19 21:58:04 +02:00

github : _which: complete whence -x

This commit is contained in:
Christopher Bock 2025-05-14 20:08:27 +02:00 committed by dana
parent 8e95a9ca31
commit ead0dd6b76
2 changed files with 6 additions and 1 deletions
ChangeLog
Completion/Zsh/Command

View file

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

View file

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