$MAIL  –  Path to a mail file or directory

$MAIL defines the file path where the shell looks for mail. This variable is only used if $mailpath and $MAILPATH are not set.

Examples

Check $HOME/.inbox for incoming mail every 10 seconds
1
2
3
MAIL=~/".inbox"
MAILCHECK=10
# Now Zsh will notify you when ~/.inbox changes
BashSupport Pro 是一款支持 mail** 的 **Zsh 集成开发环境 - 立即试用
© 2020–2025 Joachim Ansorg
声明
隐私政策
许可条款