On Thu, Mar 15, 2012 at 04:30:13PM -0500, Ano Nymous wrote:
How do you get bash to have 256 colors then?
Well I don't, since I use zsh. If your terminal emulator supports 256 colors, it should set an appropriate TERM for you. If it doesn't, you should find a new terminal emulator.
On Thu, Mar 15, 2012 at 4:11 PM, Erik Johnson <paleh...@gmail.com> wrote:On Thu, Mar 15, 2012 at 03:44:51PM -0500, Ano Nymous wrote:I've tried a number of solutions found on the web to no avail. This occurs on Arch Linux, Debian Wheezy, and Ubuntu Oneiric, all different machines. I'm using gnome-terminal. I have the following set in .bashrc: export TERM=xterm-256colorYou shouldn't set TERM in your shell rc files. Add the following to your .tmux.conf: set -g default-terminal "screen-256color" Then remove (or comment) the TERM line in your .bashrc, completely exit tmux, and open a new terminal. You should probably logout and log back in to ensure that the TERM value you set was not added to your login shell, as well. Irssi works as expected in screen.-- -Erik "For me, it is far better to grasp the universe as it really is than to persist in delusion, however satisfying and reassuring." --Carl Sagan
-- -Erik "For me, it is far better to grasp the universe as it really is than to persist in delusion, however satisfying and reassuring." --Carl Sagan
pgpDFYxcAL5fN.pgp
Description: PGP signature
------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users