X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc.local;h=43c63ba93b41a22a26926b7486865084f156f033;hb=6185b1ce3424aeda444e9ba7e3af72fab25b4bd8;hp=733ada1afd6981aa873edd8ef7b54b646e24e199;hpb=486bbbcbb78ff022420640be59ebe72a24cb0882;p=config%2Fdotfiles.git diff --git a/zsh/rc.local b/zsh/rc.local index 733ada1..43c63ba 100644 --- a/zsh/rc.local +++ b/zsh/rc.local @@ -14,3 +14,16 @@ alias cdu='cd ~unix' alias cdm='cd ~macports' alias cdh='cd ~htdocs' alias cdp='cd ~page' + +# Path to my mail spoolfile. +MAIL=/var/mail/$USER +# Check for new mails every sixty seconds. +MAILCHECK=60 + +# Automatically reattach to an open screen session or start a new one. +if [[ $TERM != 'screen' && $TERM != 'dumb' ]]; then + screen -RR + # Print current screen information after exiting screen. + clear + screen -list +fi