aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"
}