Small fixes
This commit is contained in:
parent
0cae13e4c1
commit
986347debf
|
@ -39,6 +39,7 @@ xupdate() {
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
xbps-install -SA "$@"
|
xbps-install -SA "$@"
|
||||||
|
xcheckupdates
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
1
zshrc
1
zshrc
|
@ -105,6 +105,7 @@ fi
|
||||||
|
|
||||||
if exists mail; then
|
if exists mail; then
|
||||||
_prompt_cron_mails() {
|
_prompt_cron_mails() {
|
||||||
|
[[ ! -e $MAIL ]] && return
|
||||||
local newmails=$(mail -Hf $MAIL | grep -c '^.N')
|
local newmails=$(mail -Hf $MAIL | grep -c '^.N')
|
||||||
[[ $newmails -gt 0 ]] && echo "Cron Notifications: $newmails"
|
[[ $newmails -gt 0 ]] && echo "Cron Notifications: $newmails"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue