$MAILCHECK  –  Define How Often the Shell Checks For Mail

$MAILCHECK defines the interval in seconds when the shell should check for mail.

Examples

Check $HOME/.inbox for incoming mail every 10 seconds
1
2
3
mailpath=(~/".inbox?Hey, you've got mail in \$_")
MAILCHECK=10
# Now Zsh will notify you when ~/.inbox changes
BashSupport Pro is a Zsh IDE with support for $MAILCHECKtry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal