Browse Source

fixed typo in tmux plugin

fff 11 years ago
parent
commit
849c80b02d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/tmux/tmux.plugin.zsh

+ 1 - 1
plugins/tmux/tmux.plugin.zsh

@@ -38,7 +38,7 @@ if which tmux &> /dev/null
 	fi
 	fi
 
 
 	# Set the correct local config file to use.
 	# 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
 	then
 		#use this when they have a ~/.tmux.conf
 		#use this when they have a ~/.tmux.conf
 		export _ZSH_TMUX_FIXED_CONFIG="$zsh_tmux_plugin_path/tmux.extra.conf"
 		export _ZSH_TMUX_FIXED_CONFIG="$zsh_tmux_plugin_path/tmux.extra.conf"