mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-06-19 21:58:04 +02:00
github #133: _which: complete whence -x
This commit is contained in:
parent
8e95a9ca31
commit
ead0dd6b76
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;;
|
||||
|
|
Loading…
Reference in a new issue