summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--01_Internal.zsh4
-rw-r--r--12_Prompts.zsh2
2 files changed, 3 insertions, 3 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_
diff --git a/12_Prompts.zsh b/12_Prompts.zsh
index f5ec34f..7374bf2 100644
--- a/12_Prompts.zsh
+++ b/12_Prompts.zsh
@@ -299,7 +299,7 @@ __two_lines_prompt ()
## Le prompt le plus magnifique du monde, et c'est le mien !
# Affiche l'user, l'host, le tty et le pwd. Rien que ça...
#
- PS1_=$(print -Pn '\r')$HBAR$(print -Pn '\r')
+ PS1_=$(print -Pn '\r')$HBAR_COLOR$HBAR$(print -Pn '\r')
__debug "-----------------> taskbar..."
for trigger in $PS1_TASKBAR
do