From 19d852830eac4ba5187ea3d30c3aa100d568f201 Mon Sep 17 00:00:00 2001 From: Pavel Tsaregorodtsev Date: Sat, 13 Jul 2013 16:29:56 +0400 Subject: [PATCH] fix IF check of ~/.tmux.conf in tmux plugin --- plugins/tmux/tmux.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh index 3ecc2ac69..134d0588c 100644 --- a/plugins/tmux/tmux.plugin.zsh +++ b/plugins/tmux/tmux.plugin.zsh @@ -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"