diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh index 651e72459..9759d2168 100644 --- a/plugins/tmux/tmux.plugin.zsh +++ b/plugins/tmux/tmux.plugin.zsh @@ -167,7 +167,7 @@ function _zsh_tmux_plugin_preexec() local -a tmux_cmd tmux_cmd=(command tmux) - eval $($tmux_cmd show-environment -s) + eval "$($tmux_cmd show-environment -s)" } # Use the completions for tmux for our function