patch submitted by vani@

This commit is contained in:
Benjamin Morrison 2020-12-17 22:59:59 -05:00
parent fe7295a518
commit e982370876
1 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,12 @@ you have un-incorporated mail, or more specifically, when your
PS1="\$([-s /var/mail/`whoami` ] && echo '* ')$PS1"
```
For maildir try this:
```
PS1="$(test -z "`ls -A $HOME/Maildir/new`" || echo '* ')$PS1"
```
This works in `/bin/ksh`, I can't speak for other shells.
If anybody else has some quick tips they would like to share, I encourage