tmux-continuum/scripts/handle_tmux_automatic_start
Bruno Sutic e384ce1040
Document tmux multi-server behavior in the readme
2015-02-20 02:59:15 +01:00
..
README.md Document tmux multi-server behavior in the readme 2015-02-20 02:59:15 +01:00
osx_disable.sh Enable easy 'tmux auto start' configuration 2015-02-17 17:13:48 +01:00
osx_enable.sh Bugfixes for launchd plist on OS X 2015-02-18 16:24:01 +01:00
osx_iterm_start_tmux.sh Bugfixes for Terminal.app and iTerm tmux start scripts 2015-02-19 13:43:41 +01:00
osx_terminal_start_tmux.sh Bugfixes for Terminal.app and iTerm tmux start scripts 2015-02-19 13:43:41 +01:00

README.md

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 config with this shell command: $ tmux source-file ~/.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.