aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2014-02-16 14:06:27 -0500
committerMatt Singleton <matt@xcolour.net>2014-02-16 14:06:27 -0500
commit25195b1a83fd9cb7e3db8aaa61225b67db2c9083 (patch)
tree513b7634dd4f91107bad27c5cbdb770c5abd3275 /zsh
parent4a6cd8a5a7b91e0529671d75f6ec8e36c9e7240d (diff)
reorder hr colors and use background colors and spaces
Diffstat (limited to 'zsh')
-rw-r--r--zsh/behavior.zsh11
1 files changed, 6 insertions, 5 deletions
diff --git a/zsh/behavior.zsh b/zsh/behavior.zsh
index 1bff8ad..405516a 100644
--- a/zsh/behavior.zsh
+++ b/zsh/behavior.zsh
@@ -45,9 +45,10 @@ fi
# draw a horizontal separator
function hr {
- printf "$fg[blue]${(l:$COLUMNS::█:)}\n"
- printf "$fg[cyan]${(l:$COLUMNS::█:)}\n"
- printf "$fg[green]${(l:$COLUMNS::█:)}\n"
- printf "$fg[yellow]${(l:$COLUMNS::█:)}\n"
- printf "$fg[red]\e[1m${(l:$COLUMNS::█:)}$reset_color\n"
+ printf "$bg[red]${(l:$COLUMNS:: :)}$reset_color\n"
+ printf "$bg[yellow]${(l:$COLUMNS:: :)}\n"
+ printf "$bg[green]${(l:$COLUMNS:: :)}\n"
+ printf "$bg[cyan]${(l:$COLUMNS:: :)}\n"
+ printf "$bg[blue]${(l:$COLUMNS:: :)}\n"
+ printf "$bg[magenta]${(l:$COLUMNS:: :)}\n"
}