From fb5de0ba3c8dfafcc71e3f2eed2b34b0c1d3e97e Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 27 Jun 2014 14:39:50 +1200 Subject: Default to simply disabling MAILCHECK I only use it on my home workstation anyway, so I just override it with ~/.bashrc.d/mailcheck.bash --- bash/bashrc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'bash/bashrc') 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 -- cgit v1.2.3