Small fixes
This commit is contained in:
parent
0cae13e4c1
commit
986347debf
2 changed files with 2 additions and 0 deletions
1
zshrc
1
zshrc
|
@ -105,6 +105,7 @@ fi
|
|||
|
||||
if exists mail; then
|
||||
_prompt_cron_mails() {
|
||||
[[ ! -e $MAIL ]] && return
|
||||
local newmails=$(mail -Hf $MAIL | grep -c '^.N')
|
||||
[[ $newmails -gt 0 ]] && echo "Cron Notifications: $newmails"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue