From 4a6cd8a5a7b91e0529671d75f6ec8e36c9e7240d Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Mon, 10 Feb 2014 21:33:27 -0500 Subject: proper linebrakes in 'hr' function --- zsh/behavior.zsh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'zsh') diff --git a/zsh/behavior.zsh b/zsh/behavior.zsh index 32ab476..1bff8ad 100644 --- a/zsh/behavior.zsh +++ b/zsh/behavior.zsh @@ -45,10 +45,9 @@ fi # draw a horizontal separator function hr { - printf "$fg[blue]${(l:$COLUMNS::█:)}" - printf "$fg[cyan]${(l:$COLUMNS::█:)}" - printf "$fg[green]${(l:$COLUMNS::█:)}" - printf "$fg[yellow]${(l:$COLUMNS::█:)}" - printf "$fg[red]\e[1m${(l:$COLUMNS::█:)}" - printf "$reset_color" + 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" } -- cgit v1.2.3