Obtaining 256 colors to operate in tmux
I have 256 colors functioning simply great in
konsole,. I assumed I would certainly offer
tmux a shot due to the fact that, unlike screen, it appears to sustain
vi setting. Nonetheless I locate that the colors of my punctual show up and also this is more than likely due to the fact that I have a 256 shade setting motivate. What do I require to do to get
tmux to identify all 256 colors?
Try setup 256 colors clearly in your bashrc or zshrc :
If you have troubles with tmux unclear the history colors appropriately when making use of the screen term setup, you can attempt :
The Tmux FAQ clearly discourages establishing TERM to anything apart from screen or screen - 256color in your shell init documents, so do not do it!
Below's what I make use of :
~$ which tmux tmux: aliased to TERM=xterm-256color tmux
and also in in my.tmux.conf :
set -g default-terminal "screen-256color"
tmux to "
tmux -2" need to additionally do the method.