Skip to content

Instantly share code, notes, and snippets.

@zipizap
Last active December 25, 2015 06:58
Show Gist options
  • Save zipizap/6935538 to your computer and use it in GitHub Desktop.
Save zipizap/6935538 to your computer and use it in GitHub Desktop.
#######################################
## Add these lines into ~/.tmux.conf
#######################################
# set correct term
set -g default-terminal "screen-256color"
# and add an alias into ~/.bashrc
# alias 'tmux'='TERM=xterm-256color tmux'
# see http://unix.stackexchange.com/questions/1045/getting-256-colors-to-work-in-tmux
#######################################
## And this alias into ~/.bashrc
#######################################
# Alias for tmux (fixes tmux terminal colors)
alias 'tmux'='TERM=xterm-256color tmux'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment