diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-06-27 14:39:50 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-06-27 14:39:50 +1200 |
commit | fb5de0ba3c8dfafcc71e3f2eed2b34b0c1d3e97e (patch) | |
tree | 3ee610fadbdd9a4d3651f45f292036e6cf242634 /bash/bashrc | |
parent | Alias to search HISTFILE (diff) | |
download | dotfiles-fb5de0ba3c8dfafcc71e3f2eed2b34b0c1d3e97e.tar.gz dotfiles-fb5de0ba3c8dfafcc71e3f2eed2b34b0c1d3e97e.zip |
Default to simply disabling MAILCHECK
I only use it on my home workstation anyway, so I just override it with
~/.bashrc.d/mailcheck.bash
Diffstat (limited to 'bash/bashrc')
-rw-r--r-- | bash/bashrc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bash/bashrc b/bash/bashrc index b10c86af..af509614 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -20,12 +20,8 @@ HISTCONTROL=ignoreboth # Keep the times of the commands in history HISTTIMEFORMAT='%F %T ' -# Only tell me about new mail if MAIL is set and in $HOME -if [[ $MAIL == "$HOME"/* ]] ; then - MAILCHECK=15 -else - unset -v MAILCHECK -fi +# Don't warn me about new mail +unset -v MAILCHECK # Never beep at me setterm -bfreq 0 2>/dev/null |