### Set terminal title if using xterm case $TERM in xterm*|rxvt) precmd () {print -Pn "\e]0;%n@%m:%~\a"} ;; esac