summaryrefslogtreecommitdiff
path: root/12_Prompts.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2013-09-27 17:00:51 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2013-09-27 17:07:45 +0200
commitda9ec47882b091c0d95f2ef57b83f2f3889aa8ab (patch)
tree8b5b9ee9773d17d0256c200d50b59e2542fc931e /12_Prompts.zsh
parente65d78f271e3d15bebb32384e996224b1c01d64b (diff)
[Internal] Uses Zsh’s power to construct fixed-length strings
Diffstat (limited to '12_Prompts.zsh')
-rw-r--r--12_Prompts.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh
index ebf6e39..0800ad2 100644
--- a/12_Prompts.zsh
+++ b/12_Prompts.zsh
@@ -317,7 +317,7 @@ then
echo -n $c_$_prompt_colors[warning]$_c
#toilet -f bigmono9 "D1rTY Zsh.."
- HBAR=$(for i in {1..13} ; echo -n - "$_tq_")
+ HBAR=${(l:13::q:)}
VBAR=$T_$_tx_$_T
echo