projects
/
grml-etc-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Marking an array for export serves no purpose
[grml-etc-core.git]
/
etc
/
zsh
/
zshrc
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
d4978e4
..
5b86f31
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-981,7
+981,7
@@
function Accept-Line-HandleContext() {
function accept-line() {
setopt localoptions noksharrays
function accept-line() {
setopt localoptions noksharrays
- local -a
x
cmdline
+ local -a cmdline
local -x alcontext
local buf com fname format msg default_action
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
chpwd() {
if (( $DIRSTACKSIZE <= 0 )) || [[ -z $DIRSTACKFILE ]]; then return; fi
- local -a
x
my_stack
+ local -a my_stack
my_stack=( ${PWD} ${dirstack} )
if is42 ; then
builtin print -l ${(u)my_stack} >! ${DIRSTACKFILE}
my_stack=( ${PWD} ${dirstack} )
if is42 ; then
builtin print -l ${(u)my_stack} >! ${DIRSTACKFILE}