tmux: Run resurrect-save on detach in background
Shorten the time it takes to detach.
This commit is contained in:
@@ -151,7 +151,7 @@ set -g @resurrect-strategy-nvim 'session'
|
||||
# Save sessions before detaching
|
||||
unbind d
|
||||
bind d {
|
||||
run "$XDG_CONFIG_HOME/tmux/plugins/tmux-resurrect/scripts/save.sh";
|
||||
run -b "$XDG_CONFIG_HOME/tmux/plugins/tmux-resurrect/scripts/save.sh";
|
||||
detach
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user