Skip to content

Commit e96d5eb

Browse files
committed
tmux: added confirm step to save/restore actions*
*this depends on support for upstream changes that I'm making to plugin here: tmux-plugins/tmux-resurrect#502
1 parent 39d46c3 commit e96d5eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tmux/tmux.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ set -g @plugin 'tmux-plugins/tpm'
112112
# github.com/tmux-plugins/tmux-resurrect
113113
# C-a + C-s - save current session
114114
# C-a + C-r - restore saved session
115-
# TODO consider contributing to this project by implementing optional
116-
# `confirm-before` usage for these shortcuts.
117115
set -g @plugin 'tmux-plugins/tmux-resurrect'
116+
set -g @resurrect-confirm-save "on" # {on, off}
117+
set -g @resurrect-confirm-restore "on" # {on, off}
118118

119119
# No longer using this plugin since UI is being customized through
120120
# tmux-powerline.

0 commit comments

Comments
 (0)