Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
76d3eedf
Commit
76d3eedf
authored
Aug 07, 2018
by
Marc Cornellà
Browse files
tmux: fix regression after
f584de59
Fixes #7041
parent
54055c45
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/tmux/tmux.plugin.zsh
View file @
76d3eedf
...
@@ -60,9 +60,7 @@ function _zsh_tmux_plugin_run() {
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment