1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 13:50:09 +00:00

Not loading home tmux confs when iTerm2 tmux integration is enabled

This commit is contained in:
Andrew Schwartzmeyer 2013-06-22 17:43:42 -07:00
parent bc65443734
commit 55f7990607

View file

@ -38,7 +38,7 @@ if which tmux &> /dev/null
fi
# Set the correct local config file to use.
if [[ -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"