From 56cb6e903ed453a13f71f8c246ed0f50bb335a28 Mon Sep 17 00:00:00 2001 From: Hasan Yusuf Ahmed Date: Wed, 29 Nov 2017 17:21:56 -0500 Subject: [PATCH] Added more information to the tmux section --- Plugins.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/Plugins.md b/Plugins.md index 78529ac..5e6aa2a 100644 --- a/Plugins.md +++ b/Plugins.md @@ -1529,7 +1529,7 @@ Completions for `thor` **Maintainer:** [jmatth](http://github.com/jmatth) -Adds several options for effecting the startup behavior of [tmux](https://tmux.github.io). Each of the options are set by changing the environment variables below: +Adds several options for effecting the startup behavior of [tmux](https://tmux.github.io). Each of the options are set by changing the environment variables below in the **TOP** of your `tmux.plugin.zsh` file: 1. `ZSH_TMUX_AUTOSTART`: Automatically start a tmux session upon logging in. Set to `false` by default. 2. `ZSH_TMUX_AUTOSTART_ONCE`: Only attempt to autostart tmux once. If this is disabled when the previous option is enabled, then tmux will be autostarted every time you source your zsh config files. Set to `true` by default. @@ -1537,7 +1537,20 @@ Adds several options for effecting the startup behavior of [tmux](https://tmux.g 4. `ZSH_TMUX_AUTOQUIT`: Close the terminal session when tmux exits. Set to the value of `ZSH_TMUX_AUTOSTART` by default. 5. `ZSH_TMUX_FIXTERM`: When running tmux, the variable `$TERM` is supposed to be set to `screen` or one of its derivatives. This option will set the `default-terminal` option of tmux to `screen-256color` if 256 color terminal support is detected, and `screen` otherwise. The term values it uses can be overridden by changing the `ZSH_TMUX_FIXTERM_WITH_256COLOR` and `ZSH_TMUX_FIXTERM_WITHOUT_256COLOR` variables respectively. Set to `true` by default. -If the user specifies any arguments for `tmux` then the command is just executed as it was typed it without any modification. +If the user specifies any arguments for `tmux` then the command is just executed as it was typed it without any +modification. + +### aliases + +| Alias | Command | +|:------|:-----------| +|ta | tmux attach -t| +|tad | tmux attach -d -t| +|ts | tmux new-session -s| +|tl | tmux list-sessions| +|tksv | tmux kill-server| +|tkss | tmux kill-session -t| + ---