From 9ba0df7fa201845211ffec10021b250e8f255d37 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Tue, 12 Aug 2008 12:03:30 +0200 Subject: Corrects an error while calculating spaceleft.. --- 12_Prompts.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/12_Prompts.zsh b/12_Prompts.zsh index b3d2ed7..af9ec6c 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -86,7 +86,7 @@ old_precmd() spaceleft=$((1 + $COLUMNS - $ERRORSIZE - $MAILSTATSIZE - $DATESIZE)) unset HBAR - for h in {1..$(($spaceleft - 1))} + for h in {1..$spaceleft} do HBAR=$HBAR- done -- cgit v1.2.3