mirror of
https://github.com/tmux-plugins/tmux-continuum.git
synced 2024-11-16 15:38:46 +00:00
f32dd4e093
I'm not using this script, and I haven't looked very far into it, but based on the other scripts in this directory, I am guessing this line (which, I think, references a function that doesn't exist) was left in by accident. This commit removes it. |
||
---|---|---|
.. | ||
osx_alacritty_start_tmux.sh | ||
osx_disable.sh | ||
osx_enable.sh | ||
osx_iterm_start_tmux.sh | ||
osx_kitty_start_tmux.sh | ||
osx_terminal_start_tmux.sh | ||
README.md | ||
systemd_disable.sh | ||
systemd_enable.sh |
Automatic Tmux start
Tmux is automatically started after the computer/server is turned on.
OS X
To enable this feature:
- put
set -g @continuum-boot '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 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'
- start iTerm instead ofTerminal.app
set -g @continuum-boot-options 'iterm,fullscreen'
- startiTerm
in fullscreenset -g @continuum-boot-options 'kitty'
- start kitty instead ofTerminal.app
set -g @continuum-boot-options 'kitty,fullscreen'
- startkitty
in fullscreenset -g @continuum-boot-options 'alacritty'
- start alacritty instead ofTerminal.app
set -g @continuum-boot-options 'alacritty,fullscreen'
- startalacritty
in fullscreen
Note: The first time you reboot your machine and activate this feature you may be prompted about a script requiring
access to a system program (i.e. - System Events). If this happens tmux will not start automatically and you will need
to go to System Preferences -> Security & Privacy -> Accessability
and add the script to the list of apps that are
allowed to control your computer.
Linux
Help with this would be greatly appreciated. Please get in touch.
Systemd
this will only start the tmux server, it will not start any terminal emulator
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