Marking an array for export serves no purpose
[grml-etc-core.git] / etc / zsh / zshrc
index d4978e4..5b86f31 100644 (file)
@@ -981,7 +981,7 @@ function Accept-Line-HandleContext() {
 
 function accept-line() {
     setopt localoptions noksharrays
-    local -ax cmdline
+    local -a cmdline
     local -x alcontext
     local buf com fname format msg default_action
 
@@ -1629,7 +1629,7 @@ fi
 
 chpwd() {
     if (( $DIRSTACKSIZE <= 0 )) || [[ -z $DIRSTACKFILE ]]; then return; fi
-    local -ax my_stack
+    local -a my_stack
     my_stack=( ${PWD} ${dirstack} )
     if is42 ; then
         builtin print -l ${(u)my_stack} >! ${DIRSTACKFILE}