mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-05 11:01:13 +02:00
unposted (based on Marlon: 49273): add -x to local completion
This commit is contained in:
parent
46c502c380
commit
51eaf66bea
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
2021-08-27 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* unposted (based on Marlon: 49273):
|
||||
Completion/Zsh/Command/_typeset: add -x to local completion
|
||||
|
||||
* 49309: Completion/Linux/Command/_strace: update the
|
||||
strace completion through strace 5.13
|
||||
|
||||
|
|
|
@ -69,8 +69,8 @@ case ${service} in
|
|||
allargs[i]='-i+[specify arithmetic base for output]:: :_guard "[0-9]#" base' \
|
||||
;;
|
||||
readonly) use="${use/r/}" ;;
|
||||
local) use="${use/[fkz]/}" ;&
|
||||
export) use="${${use//[gkz]/}/x/}" ;;
|
||||
local) use="${use//[fgkz]/}" ;;
|
||||
export) use="${use//[fgkxz]/}" ;;
|
||||
esac
|
||||
|
||||
[[ -z "${words[(r)-*[aA]*]}" ]] || func=p
|
||||
|
|
Loading…
Reference in a new issue