diff --git a/.zsh/functions/prompt b/.zsh/functions/prompt index f8cc15f..4a1a90c 100644 --- a/.zsh/functions/prompt +++ b/.zsh/functions/prompt @@ -4,6 +4,8 @@ local pac_cnt=$(get_cnt updates) local aur_cnt=$(get_cnt aur) local hostname=$(hostname | cut -d . -f 1) +line + if [ $pac_cnt -gt 0 -o $aur_cnt -gt 0 ]; then printf "%s%d%s/%s%d%s:" \ "%{${fg[cyan]}%}" $pac_cnt "%{${fg[default]}%}" \