.zsh/functions/prompt

This commit is contained in:
Tom Willemsen 2012-01-11 21:37:49 +01:00
parent d1458e88a1
commit eac44bf15a

View file

@ -4,7 +4,7 @@ local pac_cnt=$(get_cnt updates)
local aur_cnt=$(get_cnt aur)
local hostname=$(hostname | cut -d . -f 1)
line $hostname $(date)
line $hostname "$(date)"
if [ $pac_cnt -gt 0 -o $aur_cnt -gt 0 ]; then
printf "%s%d%s/%s%d%s:" \