summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@openwide.fr>2010-06-03 16:41:10 +0200
committerHugues Hiegel <hugues.hiegel@openwide.fr>2010-06-03 16:41:10 +0200
commit3c94bc1cb9d6574d70e4065a4719d6d5b0463138 (patch)
tree3011729c7b7e9e5127a9a2a7ebfd5994268f20e0
parent8b8b4c281e65a2c7882a2260a56b6bf71bc99f6e (diff)
[Funcs] preprints a bar with 74 chars wide, and 3-space width
-rw-r--r--01_Functions.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/01_Functions.zsh b/01_Functions.zsh
index 874e146..0faebc8 100644
--- a/01_Functions.zsh
+++ b/01_Functions.zsh
@@ -81,7 +81,7 @@ preprint()
my_color=${2-"$prompt_colors[generic]"}
hbar=
- for i in {1..$((80 - ${#1} - 5))}
+ for i in {1..$((74 - ${#1} - 5))}
do
hbar=$hbar-
done