If you want the Terminal window title to be set automatically to the remote zone you have logged into, add this to your .bashrc file on the remote machine.
# Terminal settings
PS1="[\u@\h \W]# "
if [ -n "$PS1" ]; then
echo -n -e "\033]0;`hostname`\007"
fi
Friday, June 27, 2008
Set Terminal Title
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment