Method for tab renaming in OSX terminal.app

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!

2 Responses to “Method for tab renaming in OSX terminal.app”

  1. Joe Daly says:

    HEY!!!!!

    I named it tabssh!!!!!

    =)

  2. admin says:

    Props to joe..

Leave a Reply