tmux-continuum/scripts/handle_tmux_automatic_start/README.md

27 lines
848 B
Markdown
Raw Normal View History

2015-02-18 15:52:14 +00:00
# Automatic Tmux start
Tmux is automatically started after the computer/server is turned on.
### OS X
To enable this feature:
2015-02-20 12:38:09 +00:00
- put `set -g @continuum-boot 'on'` in `tmux.conf`
- reload tmux config with this shell command: `$ tmux source-file ~/.tmux.conf`
2015-02-18 15:52:14 +00:00
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:
2015-02-20 12:38:09 +00:00
- `set -g @continuum-boot-options 'fullscreen'` - terminal window
2015-02-18 15:52:14 +00:00
will go fullscreen
2015-02-20 12:38:09 +00:00
- `set -g @continuum-boot-options 'iterm'` - start `iTerm` instead
2015-02-18 15:52:14 +00:00
of `Terminal.app`
2015-02-20 12:38:09 +00:00
- `set -g @continuum-boot-options 'iterm,fullscreen'` - start `iTerm`
2015-02-18 15:52:14 +00:00
in fullscreen
### Linux
Help with this would be greatly appreciated. Please get in touch.