tmux: fix iterm2 variable test to be more consistent

This commit is contained in:
Andrew Janke 2015-09-27 23:49:29 -04:00
parent 39fd8f9214
commit 96f217457f

View File

@ -50,7 +50,7 @@ else
fi
# Set the correct local config file to use.
if [[ "$ZSH_TMUX_ITERM2" == "false" ]] && [[ -f $HOME/.tmux.conf || -h $HOME/.tmux.conf ]]; then
if [[ "$ZSH_TMUX_ITERM2" != "true" ]] && [[ -f $HOME/.tmux.conf || -h $HOME/.tmux.conf ]]; then
#use this when they have a ~/.tmux.conf
export _ZSH_TMUX_FIXED_CONFIG="$zsh_tmux_plugin_path/tmux.extra.conf"
else