diff options
-rw-r--r-- | zsh/behavior.zsh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/zsh/behavior.zsh b/zsh/behavior.zsh index 7e7b243..32ab476 100644 --- a/zsh/behavior.zsh +++ b/zsh/behavior.zsh @@ -40,3 +40,15 @@ if [ -e /usr/local/bin/virtualenvwrapper.sh ]; then export WORKON_HOME=~/.virtualenv/envs source /usr/local/bin/virtualenvwrapper_lazy.sh 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" +} |