b979400cff17248147d95f6271edb6f2d6e36c84
- Author
- Josh Matthews <jmatth@nbcs.rutgers.edu>
- Committer
- Josh Matthews <jmatth@nbcs.rutgers.edu>
- Date
Message
Starting tmux plugin with basic config variables.
Diff
1diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh
2new file mode 100644
3index 0000000000000000000000000000000000000000..cc676cb92f5a04cf6eb0bc21c7f93b4fc0cc9d9d
4--- /dev/null
5+++ b/plugins/tmux/tmux.plugin.zsh
6@@ -0,0 +1,12 @@
7+# Configuration variables
8+# Automatically start tmux
9+[[ -n "$ZSH_TMUX_AUTOSTART" ]] || ZSH_TMUX_AUTOSTART = false
10+# Automatically connect to a previous session if it exists
11+[[ -n "$ZSH_TMUX_AUTOCONNECT" ]] || ZSH_TMUX_AUTOCONNECT = true
12+# Automatically close the terminal when tmux exits
13+[[ -n "$ZSH_TMUX_AUTOQUIT" ]] || ZSH_TMUX_AUTOQUIT = true
14+# Set term to screen or screen-256color based on current terminal support
15+[[ -n "$ZSH_TMUX_FIXTERM" ]] || ZSH_TMUX_AUTOCONNECT = true
16+
17+# Get the absolute path to the current directory
18+local zsh_tmux_plugin_path="$(cd "$(dirname "$0")" && pwd)"