1diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh
2index d8fdd92555b84fb67c34f4c27fc251dad36df3c1..48ffc1c274ad5581a6a2e7cd432ce1ca10ed7e05 100644
3--- a/plugins/tmux/tmux.plugin.zsh
4+++ b/plugins/tmux/tmux.plugin.zsh
5@@ -27,8 +27,10 @@ if [[ "$ZSH_TMUX_FIXTERM" == "true" ]]
6 then
7 if [[ -f $HOME/.tmux.conf || -h $HOME/.tmux.conf ]]
8 then
9+ #use this when they have a ~/.tmux.conf
10 fixed_config=$zsh_tmux_plugin_path/tmux.extra.conf
11 else
12+ #use this when they don't have a ~/.tmux.conf
13 fixed_config=$zsh_tmux_plugin_path/tmux.only.conf
14 fi
15 fi
16@@ -45,6 +47,7 @@ function zsh_tmux_plugin_start()
17 then
18 \tmux attach || tmux -f $fixed_config new-session
19 [[ "$ZSH_TMUX_AUTOQUIT" == "true" ]] && exit
20+ # Just try to fix the TERM variable.
21 else
22 \tmux -f $fixed_config
23 [[ "$ZSH_TMUX_AUTOQUIT" == "true" ]] && exit