Tmux is automatically started after the computer/server is turned on.
To enable this feature:
- put
set -g @continuum-boot 'on'
intmux.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 sizetmux
command will be executed in the terminal window- if "auto restore" feature is enabled, tmux will start restoring previous env
Config options:
set -g @continuum-boot-options 'fullscreen'
- terminal window will go fullscreenset -g @continuum-boot-options 'iterm'
- startiTerm
instead ofTerminal.app
set -g @continuum-boot-options 'iterm,fullscreen'
- startiTerm
in fullscreen
Help with this would be greatly appreciated. Please get in touch.
To enable automatic start with systemd:
- Put
set -g @continuum-boot 'on'
in tmux.conf - reload tmux config with this shell command:
$ tmux source-file ~/.tmux.conf
- see systemd for more details about how this is implemented