fix IF check of ~/.tmux.conf in tmux plugin

This commit is contained in:
Pavel Tsaregorodtsev 2013-07-13 16:29:56 +04:00
commit 19d852830e

View file

@ -38,7 +38,7 @@ if which tmux &> /dev/null
fi
# Set the correct local config file to use.
if [[ "$ZSH_TMUX_ITERM2" == "false" ]] && (( [[ -f $HOME/.tmux.conf ]] || -h $HOME/.tmux.conf ]] ))
if [[ "$ZSH_TMUX_ITERM2" == "false" ]] && ( [[ -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"