Add some indentation into zsh function

This commit is contained in:
Tom Willemse 2023-09-19 00:38:04 -07:00
parent 0bf5c4ee89
commit 6054dccc67

View file

@ -106,8 +106,8 @@
"autoload -Uz compinit\n"
"compinit\n"
"function horizontal-rule() {\n"
"local width=$(tput cols)\n"
"echo -e \"\\033[0;32m${(pl:$width::━:)}\\033[0m\"\n"
" local width=$(tput cols)\n"
" echo -e \"\\033[0;32m${(pl:$width::━:)}\\033[0m\"\n"
"}\n"
"preexec_functions+=(horizontal-rule)\n"
"precmd_functions+=(horizontal-rule)\n"