Added more information to the tmux section

Hasan Yusuf Ahmed 2017-11-29 17:21:56 -05:00
parent 86cc6e555d
commit 56cb6e903e

@ -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|
---