diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh index c15c6d797..734d990d2 100644 --- a/plugins/tmux/tmux.plugin.zsh +++ b/plugins/tmux/tmux.plugin.zsh @@ -6,8 +6,8 @@ if (( $+commands[tmux] )); then local state - zstyle -a :omz:plugins:autostart state - [[ state == "on" && -z $TMUX ]] && exec tmux + zstyle -a :omz:plugins:tmux autostart state + [[ $state == "on" && -z $TMUX ]] && exec tmux # start an irc client in a tmux session if [[ -n $IRC ]]; then