Skip to content

Instantly share code, notes, and snippets.

@riywo

riywo/bashrc

Created Dec 12, 2012
Embed
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