mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-29 01:00:08 +00:00
tmux: fix invalid syntax on old zsh versions
First reported on f584de5930 (r29984052)
This commit is contained in:
parent
44473d785e
commit
60db5cdb58
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue