From: Oleg Broytman Date: Sun, 9 Oct 2022 22:04:09 +0000 (+0300) Subject: .profile: unset `MAILCHECK` under `screen` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=1e5af5c0422257840d0d458925183f019dd6addd;p=dotfiles.git .profile: unset `MAILCHECK` under `screen` Unset `MAILCHECK` for all but the very 1st `screen` window. --- diff --git a/.profile b/.profile index 0cfbf8e..7952c54 100644 --- 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