Correct syntax error in variable assignment

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
This commit is contained in:
Neil Mather 2013-05-10 21:44:37 +01:00 committed by Sorin Ionescu
parent 413b717484
commit 7e33c7189e

View file

@ -23,8 +23,7 @@ fi
typeset -A syntax_highlighting_styles
zstyle -a ':prezto:module:syntax-highlighting' styles 'syntax_highlighting_styles'
for syntax_highlighting_style in "${(k)syntax_highlighting_styles[@]}"; do
ZSH_HIGHLIGHT_STYLES[$syntax_highlighting_style]=\
"$syntax_highlighting_styles[$syntax_highlighting_style]"
ZSH_HIGHLIGHT_STYLES[$syntax_highlighting_style]="$syntax_highlighting_styles[$syntax_highlighting_style]"
done
unset syntax_highlighting_style{s,}