Last Updated: February 25, 2016
·
680
· vatrai

terminal title with current dir name

#override the precmd

function precmd {
case $TERM in
xterm*)
print -Pn "\e]0; %.\a"
;;
esac
}