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


Click here to return to the 'Use PROMPT_COMMAND to set titles on iTerm tabs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use PROMPT_COMMAND to set titles on iTerm tabs
Authored by: Greedo on Oct 20, '03 03:46:09PM
This seems to work on iTerm shells I open on my own machine, but any shells I open on other machines don't take it. Specifically, I have an entry in my bookmarks that has:
   Name: foo
     ...
   Command: ssh foo.com
     ...
   Terminal: xterm
Any solutions to this?

[ Reply to This | # ]
Use PROMPT_COMMAND to set titles on iTerm tabs
Authored by: jtphil on Oct 20, '03 06:08:04PM

You need to edit your .bashrc file on foo.com and any other hosts that you log in to, unless the login scripts already set PROMPT_COMMAND for you.



[ Reply to This | # ]