So these past few days I am working to make Xterm and tmux show all the 256 colors available in them by default. I reach these conclusions:
- for tmux to show 256 colors you have to make xterm to show it.
export TERM=xterm-256color
in~/.bashrc
make xterm to show all 256 color. but this is problematic; when you do that you set the whole terminal to xterm and even urxvt will report back its $TERM as Xterm notrxvt-unicode-256color
.
So I am looking for the way to just target the xterm. and leave other terminal emulators alone.
PS: I had the same problem ith Urxvt but I solved it by tweaking its Makefile and removed --with-rxvt