# Zsh configuration file for my local computer. # Shortcuts for the prompt and to cd to important directories. unix=~/Documents/unix macports=${unix}/macports htdocs=/Library/WebServer/Documents page=${htdocs}/page # Activate these shortcuts. : ~unix ~macports ~htdocs ~page # Aliases for easy and fast cd to important directories. 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 ten seconds. MAILCHECK=10 # 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