fix typo in tmux plugin for 'command not found: -h'

This commit is contained in:
Ryan Wang 2013-07-24 10:09:38 +08:00
commit 09317dd10d

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"