diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh index ff7de746b..4a7986389 100644 --- a/plugins/tmux/tmux.plugin.zsh +++ b/plugins/tmux/tmux.plugin.zsh @@ -56,7 +56,8 @@ function _zsh_tmux_plugin_run() { return $? fi - local -a tmux_cmd=(command tmux) + local -a tmux_cmd + tmux_cmd=(command tmux) [[ "$ZSH_TMUX_ITERM2" == "true" ]] && tmux_cmd+=(-CC) # Try to connect to an existing session.