From 25195b1a83fd9cb7e3db8aaa61225b67db2c9083 Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Sun, 16 Feb 2014 14:06:27 -0500 Subject: reorder hr colors and use background colors and spaces --- zsh/behavior.zsh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'zsh') 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" } -- cgit v1.2.3