diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-11-22 10:19:49 -0800 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-11-22 10:19:49 -0800 |
commit | 14487ff5cc0233acf4ed3398559d975e92d52d51 (patch) | |
tree | 063987cc2c743bb5ad95f6dbc6edc23b4a14defb /Functions/Prompts/prompt_clint_setup | |
parent | acbd2ca701ea6b91e3f3a710daa7e32295edc225 (diff) | |
download | zsh-14487ff5cc0233acf4ed3398559d975e92d52d51.tar.gz zsh-14487ff5cc0233acf4ed3398559d975e92d52d51.tar.xz zsh-14487ff5cc0233acf4ed3398559d975e92d52d51.zip |
37192: silence WARN_CREATE_GLOBAL in prompt themes
Diffstat (limited to 'Functions/Prompts/prompt_clint_setup')
-rw-r--r-- | Functions/Prompts/prompt_clint_setup | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Functions/Prompts/prompt_clint_setup b/Functions/Prompts/prompt_clint_setup index 822d3908f..876d30408 100644 --- a/Functions/Prompts/prompt_clint_setup +++ b/Functions/Prompts/prompt_clint_setup @@ -38,12 +38,13 @@ prompt_clint_setup () { [[ -n "$WINDOW" ]] && p_win="$pc['\(']%F{$pcc[4]}$WINDOW$pc['\)']" p_userpwd="$pc['<']%F{$pcc[3]}%n@%m$p_win%F{$pcc[5]}:%F{$pcc[4]}%~$pc['>']" - p_vcs="%(2v.%U%2v%u.)" + local p_vcs="%(2v.%U%2v%u.)" p_shlvlhist="%fzsh%(2L./$SHLVL.) %B%h%b " p_rc="%(?..[%?%1v] )" p_end="%f%B%#%b " + typeset -ga zle_highlight zle_highlight[(r)default:*]=default:$pcc[2] prompt="$p_date$p_tty$p_plat$p_ver |