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
f096644c
Commit
f096644c
authored
Feb 26, 2013
by
Josh Matthews
Browse files
Checking if already in tmux before autostarting in tmux in tmux plugin.
parent
43c50f03
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/tmux/tmux.plugin.zsh
View file @
f096644c
...
...
@@ -54,7 +54,7 @@ function zsh_tmux_plugin_run()
# Alias tmux to our wrapper function.
alias
tmux
=
zsh_tmux_plugin_start
if
[[
"
$ZSH_TMUX_AUTOSTART
"
==
"true"
]]
if
[[
!
-n
"
$TMUX
"
&&
"
$ZSH_TMUX_AUTOSTART
"
==
"true"
]]
then
zsh_tmux_plugin_run
fi
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