Archive for March, 2010

Method for tab renaming in OSX terminal.app

Thursday, March 18th, 2010

New method for renaming tabs is to place the following code in the (.bashrc or .profile):

export PROMPT_COMMAND='echo -ne "\033]0;${HOSTNAME}: ${PWD/$HOME/~}\007"'

Works great!