about summary refs log tree commit diff
path: root/Completion/Zsh/Command
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2021-08-27 09:42:11 +0200
committerOliver Kiddle <opk@zsh.org>2021-08-27 09:42:11 +0200
commit51eaf66bea68da346167e08c9ff8b4ac60c3f7da (patch)
treed4c5bf54274dd0619580b2b46eb7b7e3750dde3d /Completion/Zsh/Command
parent46c502c380cc2c35e2345e98b78cc44a9ad1a0e5 (diff)
downloadzsh-51eaf66bea68da346167e08c9ff8b4ac60c3f7da.tar.gz
zsh-51eaf66bea68da346167e08c9ff8b4ac60c3f7da.tar.xz
zsh-51eaf66bea68da346167e08c9ff8b4ac60c3f7da.zip
unposted (based on Marlon: 49273): add -x to local completion
Diffstat (limited to 'Completion/Zsh/Command')
-rw-r--r--Completion/Zsh/Command/_typeset4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Zsh/Command/_typeset b/Completion/Zsh/Command/_typeset
index 3f7de9706..d3304bed0 100644
--- a/Completion/Zsh/Command/_typeset
+++ b/Completion/Zsh/Command/_typeset
@@ -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