ad586ffecaaeb695cc73ced4d643c6727d47f535
- Author
- Krut Patel <krutp@nvidia.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
fix(tmux): preserve newlines when refreshing environment (#13880)
Diff
1diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh
2index 651e72459fcf278d37ae3ecf46f42f17f81d5016..9759d2168fa433a1823aea5a50c5ee8940900923 100644
3--- a/plugins/tmux/tmux.plugin.zsh
4+++ b/plugins/tmux/tmux.plugin.zsh
5@@ -167,7 +167,7 @@ function _zsh_tmux_plugin_preexec()
6 local -a tmux_cmd
7 tmux_cmd=(command tmux)
8
9- eval $($tmux_cmd show-environment -s)
10+ eval "$($tmux_cmd show-environment -s)"
11 }
12
13 # Use the completions for tmux for our function