Skip to content

Commit 97a37e6

Browse files
committed
fix : history cmd interruption
By storing history, it injects a command in our workflow and breaks what Im typing, which is annoying Also increased restore time to 30 minutes from 20. tmux-plugins/tmux-continuum#6
1 parent 5488196 commit 97a37e6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tmux/tmux.conf.symlink

+4-2
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,16 @@ set -g @plugin 'tmux-plugins/tmux-resurrect'
135135
# keep pane contents
136136
set -g @resurrect-capture-pane-contents 'on'
137137
# restore bash history
138-
set -g @resurrect-save-bash-history 'on'
138+
# Don't enable because it injects stupid messages in prompt
139+
# See https://github.com/tmux-plugins/tmux-continuum/issues/6
140+
set -g @resurrect-save-bash-history 'off'
139141

140142
# tmux-continuum - automatically save and restore tmux sessions
141143
set -g @plugin 'tmux-plugins/tmux-continuum'
142144
# Restore last saved enviroment
143145
set -g @continuum-restore 'on'
144146
# Set autosave interval
145-
set -g @continuum-save-interval '20'
147+
set -g @continuum-save-interval '30'
146148
# Show continiuum state in statusbar
147149
# set -g status-right 'Continuum status: #{continuum_status}'
148150
# Starting tmux with system https://github.com/tmux-plugins/tmux-continuum/blob/master/docs/automatic_start.md

0 commit comments

Comments
 (0)