mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-08 16:30:40 +01:00
@@ -60,9 +60,7 @@ function _zsh_tmux_plugin_run() {
|
|||||||
[[ "$ZSH_TMUX_ITERM2" == "true" ]] && tmux_cmd+=(-CC)
|
[[ "$ZSH_TMUX_ITERM2" == "true" ]] && tmux_cmd+=(-CC)
|
||||||
|
|
||||||
# Try to connect to an existing session.
|
# Try to connect to an existing session.
|
||||||
if [[ "$ZSH_TMUX_AUTOCONNECT" == "true" ]]; then
|
[[ "$ZSH_TMUX_AUTOCONNECT" == "true" ]] && $tmux_cmd attach
|
||||||
$tmux_cmd attach
|
|
||||||
fi
|
|
||||||
|
|
||||||
# If failed, just run tmux, fixing the TERM variable if requested.
|
# If failed, just run tmux, fixing the TERM variable if requested.
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user