7

Can't set TERM in fish shell

view full story
linux-howto

http://serverfault.com – I use the fish shell. I'm trying to run vim inside tmux with the solarized theme, but the colors are broken unless I run: set -lx TERM screen-256color-bce; before running tmux attach. It's annoying having to run this every day, so I want to set the TERM variable permanently. However, fish seems to ignore when I set this particular variable with set -U: $ set -U foo bar; set | grep foo foo bar $ set -U TERM screen-256color-bce; set | grep TERM TERM screen-256color $ set -lx TERM screen-256color-bce; set | grep TERM TERM screen-256color-bce I even tried putting set -lx TERM screen-256colo (HowTos)