]> git.phdru.name Git - dotfiles.git/blobdiff - .profile
.profile: unset `MAILCHECK` under `screen`
[dotfiles.git] / .profile
index 0cfbf8e188c5b4ed0a601744c4c5a6368ef0f207..7952c54a01025004e00b419df7f5a0ecebc57114 100644 (file)
--- a/.profile
+++ b/.profile
@@ -146,6 +146,9 @@ if [ -t 0 ] ; then
             MAILPATH="$MAILPATH:`echo $HOME/mail/lists/* | sed 's/ /:/g'`"
     fi
     export MAIL MAILPATH
+    if [ -n "$STY" -a "$WINDOW" != 0 ]; then
+        unset MAILCHECK
+    fi
 
     BROWSER="links2:links:elinks:w3m:lynx"
     case "$TERM" in