about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh')
-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