Skip to content

Instantly share code, notes, and snippets.

@shishirsharma
Created October 14, 2013 05:58
Show Gist options
  • Save shishirsharma/6971394 to your computer and use it in GitHub Desktop.
Save shishirsharma/6971394 to your computer and use it in GitHub Desktop.
# Tmux/Screen tab title
case "$TERM" in
screen)
PROMPT_COMMAND="printf '\033k$(hostname -s)\033\';"${PROMPT_COMMAND}
;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment