summaryrefslogtreecommitdiff
path: root/11_Colors.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2012-04-26 10:53:12 +0200
committerHugues Hiegel <hugues@hiegel.fr>2012-04-26 10:53:12 +0200
commit512a16ece9fc2576185b4e97c2bf46871d059f17 (patch)
tree5a682200739177722e1c95e27d0f4918b53194d9 /11_Colors.zsh
parent8c682713684132a010fab9154e1dad9d5201ca72 (diff)
[Colors] forces hbar re-generation with colors
Diffstat (limited to '11_Colors.zsh')
-rw-r--r--11_Colors.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/11_Colors.zsh b/11_Colors.zsh
index 2185826..d38ee68 100644
--- a/11_Colors.zsh
+++ b/11_Colors.zsh
@@ -18,6 +18,9 @@ _correct_colors[suggest]="$color[blue];$color[bold]"
#
set_prompt_colors ()
{
+ # Forces HBAR re-generation with new colors..
+ _COLUMNS_OLD=0
+
local my_generic
# Get the generic color from cmdline, else from envvar...
my_generic=${1:-$_prompt_colors[generic]}