Enabled automatically save and restore Tmux sessions

This commit is contained in:
Fabio Scotto di Santolo
2025-08-02 10:36:11 +02:00
parent b19608f7cc
commit 627355708c
4 changed files with 13 additions and 0 deletions

6
.gitmodules vendored
View File

@@ -28,3 +28,9 @@
[submodule "zsh/.oh-my-zsh/custom/plugins/fzf"] [submodule "zsh/.oh-my-zsh/custom/plugins/fzf"]
path = zsh/.oh-my-zsh/custom/plugins/fzf path = zsh/.oh-my-zsh/custom/plugins/fzf
url = https://github.com/junegunn/fzf.git url = https://github.com/junegunn/fzf.git
[submodule "tmux/.tmux/plugins/tmux-continuum"]
path = tmux/.tmux/plugins/tmux-continuum
url = https://git::@github.com/tmux-plugins/tmux-continuum
[submodule "tmux/.tmux/plugins/tmux-resurrect"]
path = tmux/.tmux/plugins/tmux-resurrect
url = https://git::@github.com/tmux-plugins/tmux-resurrect

View File

@@ -27,6 +27,8 @@ set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'wfxr/tmux-power' set -g @plugin 'wfxr/tmux-power'
set -g @plugin 'catppuccin/tmux' set -g @plugin 'catppuccin/tmux'
set-option -g @plugin 'b0o/tmux-autoreload' set-option -g @plugin 'b0o/tmux-autoreload'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
# Customizing Catppuccin theme # Customizing Catppuccin theme
set -g @catppuccin_flavour 'mocha' set -g @catppuccin_flavour 'mocha'
@@ -46,6 +48,9 @@ set -g @catppuccin_status_connect_separator "no"
set -g @catppuccin_directory_text "#{pane_current_path}" set -g @catppuccin_directory_text "#{pane_current_path}"
set-option -g status-position top set-option -g status-position top
# Continuum optons
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'