X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=inline;f=.shellrc;h=78beaf7ad6991ee6e20a79304de731d21dc89dae;hb=e28540e371a02e7bc6b8e1fc3fa33eb842db09aa;hp=e3a0ac7a01c1931230de2926692c7c45ced715fe;hpb=37eec285330d0072c8095e64631b4ad8f0c92d26;p=dotfiles.git diff --git a/.shellrc b/.shellrc index e3a0ac7..78beaf7 100644 --- a/.shellrc +++ b/.shellrc @@ -47,6 +47,10 @@ fi # clear screen and history, logout chlo() { clear; cd; >$HISTFILE; unset HISTFILE; history -c; logout || exit; } +if [ -n "$STY" -a "$WINDOW" != 0 ]; then + #unset MAILCHECK everywhere except for the 1st GNU screen window + unset MAILCHECK +fi include() { cfg="$1"