diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2012-01-22 16:22:20 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2012-01-22 16:22:20 +0100 |
commit | dbd9bc55f629891c29373398120d8af7e2c44732 (patch) | |
tree | 7a4f6a02ad876cdd236dbe6a8d68e172dc50a9e4 /Functions/Prompts/promptinit | |
parent | 1a3a8694a6eae1e140d746e4c21769cdd56971c0 (diff) | |
parent | 09532a70ead07a600a3d2258837d6e3fe943f2fd (diff) | |
download | zsh-dbd9bc55f629891c29373398120d8af7e2c44732.tar.gz zsh-dbd9bc55f629891c29373398120d8af7e2c44732.zip |
Merge branch 'upstream' into debian
Diffstat (limited to 'Functions/Prompts/promptinit')
-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]'" |