feat: enable tmux session auto-restore on server start

Resurrect + continuum were already saving every 15 minutes; this makes
sessions come back automatically after a reboot.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Brian Pooe 2026-07-06 21:18:57 +02:00
parent c3cd129478
commit c45d1ff108

View file

@ -73,9 +73,9 @@ if-shell '[ -f ~/.cache/dotfiles/tmux-theme.conf ]' \
'source-file ~/.cache/dotfiles/tmux-theme.conf' \ 'source-file ~/.cache/dotfiles/tmux-theme.conf' \
'source-file ~/.config/tmux/dragon-theme.conf' 'source-file ~/.config/tmux/dragon-theme.conf'
# Resurrect # Resurrect + continuum: auto-save every 15 min and restore on server start.
set -g @resurrect-capture-pane-contents 'on' set -g @resurrect-capture-pane-contents 'on'
# set -g @continuum-restore 'on' set -g @continuum-restore 'on'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'