Browse Source

Correct syntax error in variable assignment

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
master
Neil Mather 12 years ago committed by Sorin Ionescu
parent
commit
7e33c7189e
  1. 3
      modules/syntax-highlighting/init.zsh

3
modules/syntax-highlighting/init.zsh

@ -23,8 +23,7 @@ fi @@ -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,}

Loading…
Cancel
Save