summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJosh Matthews <jmatth@nbcs.rutgers.edu>2013-02-26 18:09:01 -0500
committerJosh Matthews <jmatth@nbcs.rutgers.edu>2013-02-26 22:29:26 -0500
commit45a4db33f81c5dbdcafa25cfe5a75490d55ec185 (patch)
tree8de4affc3fc429ab6d3043dcefd8729aa27fbc2c /plugins
parent0cf871d51299a4f837e6dce4d4ae827b0c09f5bd (diff)
downloadzsh-45a4db33f81c5dbdcafa25cfe5a75490d55ec185.tar.gz
zsh-45a4db33f81c5dbdcafa25cfe5a75490d55ec185.tar.bz2
zsh-45a4db33f81c5dbdcafa25cfe5a75490d55ec185.zip
Enabling autostart of tmux in tmux plugin.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/tmux/tmux.plugin.zsh5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh
index 48ffc1c27..8dd208399 100644
--- a/plugins/tmux/tmux.plugin.zsh
+++ b/plugins/tmux/tmux.plugin.zsh
@@ -55,3 +55,8 @@ function zsh_tmux_plugin_start()
}
alias tmux=zsh_tmux_plugin_start
+
+if [[ "$ZSH_TMUX_AUTOSTART" == "true" ]]
+then
+ zsh_tmux_plugin_start
+fi