mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-08-19 08:13:32 +08:00
fix(tmux): preserve newlines when refreshing environment (#13880)
This commit is contained in:
@@ -167,7 +167,7 @@ function _zsh_tmux_plugin_preexec()
|
|||||||
local -a tmux_cmd
|
local -a tmux_cmd
|
||||||
tmux_cmd=(command tmux)
|
tmux_cmd=(command tmux)
|
||||||
|
|
||||||
eval $($tmux_cmd show-environment -s)
|
eval "$($tmux_cmd show-environment -s)"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Use the completions for tmux for our function
|
# Use the completions for tmux for our function
|
||||||
|
|||||||
Reference in New Issue
Block a user