Skip to content

Instantly share code, notes, and snippets.



Created Dec 12, 2012
What would you like to do?
setting hostname as screen window title
export PS1='\[\033k'"$HOSTNAME"'\033\\\]'"$PS1"
Host *
PermitLocalCommand yes
LocalCommand echo -ne "\033k%h\033\\"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment