Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Set the title of the Terminal window with cd' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set the title of the Terminal window with cd
Authored by: enderai on May 04, '06 09:58:06AM

I noticed this too one day. Look at your .bashrc on the remote server, and you'll find some commands that set the window title of an xterm session to user@localhost:/path. Well, when Terminal.app is set to emulate an xterm session, it picks up the window title change, too. The same code works if you copy it into your .bash_profile or .bashrc file on your Mac.



[ Reply to This | # ]