summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2008-08-12 12:03:30 +0200
committerHugues Hiegel <hugues@hiegel.fr>2008-08-12 12:03:30 +0200
commit9ba0df7fa201845211ffec10021b250e8f255d37 (patch)
tree75eafaa2d6823f2a2042949b62216656fd14fc7d
parent0fe7b4511fea42e56f763c3a44bfd49ba73cb5ac (diff)
Corrects an error while calculating spaceleft..
-rw-r--r--12_Prompts.zsh2
1 files changed, 1 insertions, 1 deletions
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