Created
June 4, 2012 11:39
-
-
Save costis/2867878 to your computer and use it in GitHub Desktop.
Tmux and terminal colors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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