diff options
Diffstat (limited to 'Functions/Prompts/promptinit')
-rw-r--r-- | Functions/Prompts/promptinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Prompts/promptinit b/Functions/Prompts/promptinit index edf2d028b..587248997 100644 --- a/Functions/Prompts/promptinit +++ b/Functions/Prompts/promptinit @@ -160,7 +160,7 @@ Use prompt -h <theme> for help on specific themes.' for hook in chpwd precmd preexec periodic zshaddhistory zshexit; do add-zsh-hook -D "${hook}" "prompt_*_${hook}" done - set -A zle_highlight ${zle_highlight:#default:*} + typeset -ga zle_highlight=( ${zle_highlight:#default:*} ) (( ${#zle_highlight} )) || unset zle_highlight prompt_$1_setup "$@[2,-1]" && prompt_theme=( "$@" ) |