diff options
author | Matt Singleton <matt@xcolour.net> | 2014-02-10 21:33:27 -0500 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2014-02-10 21:33:27 -0500 |
commit | 4a6cd8a5a7b91e0529671d75f6ec8e36c9e7240d (patch) | |
tree | 6b3bae92b5cc1dea9a67dbe967aeea88c0099d05 /zsh | |
parent | d317c278854dcb6e60b4a07d3de04ba034c3b467 (diff) |
proper linebrakes in 'hr' function
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/behavior.zsh | 11 |
1 files changed, 5 insertions, 6 deletions
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" } |