summaryrefslogtreecommitdiff
path: root/01_Internal.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2013-06-21 11:20:04 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2013-06-21 11:25:30 +0200
commite9f1bbeb509e2ee80dda1f9b72ff89479d63a1ba (patch)
treeb9634931c9b41a50923ad84fdef049712ca404a6 /01_Internal.zsh
parent0ad5de36930891cc366d23443f8ab90485094134 (diff)
[Internal] Separates color from hbar, to make it usable outside zsh prompt.
Diffstat (limited to '01_Internal.zsh')
-rw-r--r--01_Internal.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/01_Internal.zsh b/01_Internal.zsh
index d150b45..b517c5e 100644
--- a/01_Internal.zsh
+++ b/01_Internal.zsh
@@ -394,8 +394,8 @@ __hbar()
then
__debug -n " Horizontal bar..."
_COLUMNS_OLD=$COLUMNS
- unset HBAR
- HBAR=$C_$_prompt_colors[bar]$_C$T_
+ HBAR_COLOR=$C_$_prompt_colors[bar]$_C$T_
+ HBAR=$T_
for h in {1..$COLUMNS}
do
HBAR=${HBAR}$_tq_