summaryrefslogtreecommitdiff
path: root/Functions/Prompts/promptinit
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2012-01-22 16:22:20 +0100
committerAxel Beckert <abe@deuxchevaux.org>2012-01-22 16:22:20 +0100
commitdbd9bc55f629891c29373398120d8af7e2c44732 (patch)
tree7a4f6a02ad876cdd236dbe6a8d68e172dc50a9e4 /Functions/Prompts/promptinit
parent1a3a8694a6eae1e140d746e4c21769cdd56971c0 (diff)
parent09532a70ead07a600a3d2258837d6e3fe943f2fd (diff)
downloadzsh-dbd9bc55f629891c29373398120d8af7e2c44732.tar.gz
zsh-dbd9bc55f629891c29373398120d8af7e2c44732.zip
Merge branch 'upstream' into debian
Diffstat (limited to 'Functions/Prompts/promptinit')
-rw-r--r--Functions/Prompts/promptinit3
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]'"