Skip to content

Instantly share code, notes, and snippets.

@costis
Created June 4, 2012 11:39
Show Gist options
  • Save costis/2867878 to your computer and use it in GitHub Desktop.
Save costis/2867878 to your computer and use it in GitHub Desktop.
Tmux and terminal colors
Don't set TERM in .bashrc
Start tmux with 'tmux -2' (this will enable 256 colors)
Use the following script to display color palette in terminal:
for i in {0..255} ; do
printf "\x1b[38;5;${i}mcolour${i}\n"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment