diff options
-rw-r--r-- | Functions/Prompts/promptinit | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Functions/Prompts/promptinit b/Functions/Prompts/promptinit index 0aa810236..b07eabb1f 100644 --- a/Functions/Prompts/promptinit +++ b/Functions/Prompts/promptinit @@ -180,7 +180,8 @@ prompt_preview_theme () { emulate -L zsh local -a psv; psv=($psvar); local -a +h psvar; psvar=($psv) # Ick local +h PS1=$PS1 PS2=$PS2 PS3=$PS3 PS4=$PS4 RPS1=$RPS1 - local precmd_functions preexec_functions + local precmd_functions preexec_functions prompt_opts + local -aLl +h zle_highlight print -n "$1 theme" (( $#* > 1 )) && print -n " with parameters \`$*[2,-1]'" |