Bash window title not restored after exit
Posted
by
forthrin
on Super User
See other posts from Super User
or by forthrin
Published on 2012-11-26T11:03:31Z
Indexed on
2012/11/26
11:10 UTC
Read the original article
Hit count: 361
I have a problem with the window title in the Terminal window on OS X:
- Start Terminal. Window title is "bash"
- Type "ssh external" to connect to an external server. Window title is "user@external:~"
- Type "exit". I am now back at my local machine, but the window title still says "user@external:~".
How do I make the window title return to "bash", which I assume would be correct since I have logged out of the external server and returned to my local machine?
My ~/.bash_profile has the same PS1 value:
export PS1='\w$ '
© Super User or respective owner