Skip to content

Instantly share code, notes, and snippets.

@Osse
Created June 7, 2012 15:41
Show Gist options
  • Save Osse/2889508 to your computer and use it in GitHub Desktop.
Save Osse/2889508 to your computer and use it in GitHub Desktop.
TMUX detection
if [ -z $TMUX ]; then
export TERM="xterm-256color"
else
export TERM="screen-256color"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment