Docs for tmux auto start feature

This commit is contained in:
Bruno Sutic 2015-02-18 16:52:14 +01:00
parent b82aa1d343
commit 57226cfb97
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C
2 changed files with 28 additions and 1 deletions

View File

@ -21,7 +21,8 @@ This action starts automatically when the plugin is installed.
Tmux is automatically started after the computer/server is turned on.
Put `set -g @resurrect-auto-tmux-start 'on'` in `tmux.conf` to enable this.
See the [instructions](scripts/handle_tmux_automatic_start/README.md) how to
enable this for your system.
#### Automatic restore

View File

@ -0,0 +1,26 @@
# Automatic Tmux start
Tmux is automatically started after the computer/server is turned on.
### OS X
To enable this feature:
- put `set -g @resurrect-auto-tmux-start 'on'` in `tmux.conf`
- reload `tmux.conf`
Next time the computer is started:
- `Terminal.app` window will open and resize to maximum size
- `tmux` command will be executed in the terminal window
- if "auto restore" feature is enabled, tmux will start restoring previous env
Config options:
- `set -g @resurrect-auto-tmux-start-options 'fullscreen'` - terminal window
will go fullscreen
- `set -g @resurrect-auto-tmux-start-options 'iterm'` - start `iTerm` instead
of `Terminal.app`
- `set -g @resurrect-auto-tmux-start-options 'iterm,fullscreen'` - start `iTerm`
in fullscreen
### Linux
Help with this would be greatly appreciated. Please get in touch.