Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
60db5cdb
Unverified
Commit
60db5cdb
authored
Aug 09, 2018
by
Marc Cornellà
Committed by
GitHub
Aug 09, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tmux: fix invalid syntax on old zsh versions
First reported on
https://github.com/robbyrussell/oh-my-zsh/commit/f584de5930467fd53e8b7d2e51f5227bc405e4b2#r29984052
parent
44473d78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tmux.plugin.zsh
plugins/tmux/tmux.plugin.zsh
+2
-1
No files found.
plugins/tmux/tmux.plugin.zsh
View file @
60db5cdb
...
@@ -56,7 +56,8 @@ function _zsh_tmux_plugin_run() {
...
@@ -56,7 +56,8 @@ function _zsh_tmux_plugin_run() {
return
$?
return
$?
fi
fi
local
-a
tmux_cmd
=(
command
tmux
)
local
-a
tmux_cmd
tmux_cmd
=(
command
tmux
)
[[
"
$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.
...
...
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