diff options
author | Matt Singleton <matt@xcolour.net> | 2014-02-16 14:06:27 -0500 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2014-02-16 14:06:27 -0500 |
commit | 25195b1a83fd9cb7e3db8aaa61225b67db2c9083 (patch) | |
tree | 513b7634dd4f91107bad27c5cbdb770c5abd3275 | |
parent | 4a6cd8a5a7b91e0529671d75f6ec8e36c9e7240d (diff) |
reorder hr colors and use background colors and spaces
-rw-r--r-- | zsh/behavior.zsh | 11 |
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" } |