浏览代码

Merge pull request #1975 from fff/master

fix typo error in tmux plugin
Robby Russell 11 年之前
父节点
当前提交
cf4eded921
共有 1 个文件被更改,包括 1 次插入1 次删除
  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"