I've recently changed my default shell to fish (from bash). I had tmux set up to run automatically whenever I opened the console with bash, but I'm not sure how to set it up with fish.
I tried putting
[[ $TERM != "screen" ]] && exec tmux
in fish.config, but that didn't work. How do I set tmux to automatically run in fish?