Journey of Life
July 31, 2017
automatically set gnu screen window title
http://scie.nti.st/2008/8/19/1-minute-post-hostname-as-screen-window-title/
In short, add this line to the remote host's .bashrc:
[ "$TERM" = "screen" ] && PROMPT_COMMAND='echo -ne "\033k$HOSTNAME\033\\"'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment