summaryrefslogtreecommitdiffstats
path: root/.zsh/functions/prompt
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-01-11 21:35:40 +0100
committerGravatar Tom Willemsen2012-01-11 21:35:40 +0100
commit89c865eb479573790bd32052e4420b2e46f77815 (patch)
treeb3f674f92cd8f5e907d800ebcaa649d0572bc378 /.zsh/functions/prompt
parentdfa924fcd846ab46794c6bd06465753be7c9abdc (diff)
downloaddotfiles-89c865eb479573790bd32052e4420b2e46f77815.tar.gz
dotfiles-89c865eb479573790bd32052e4420b2e46f77815.zip
.zsh/functions/prompt
Diffstat (limited to '.zsh/functions/prompt')
-rw-r--r--.zsh/functions/prompt2
1 files changed, 2 insertions, 0 deletions
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]}%}" \