Add option to set restore max delay

This enables the user to set a custom max delay time for the auto
restore process to trigger. When the .tmux.conf loads multiple or slow
plugins 10 seconds is not enough.
This commit is contained in:
Adrian Haasler García
2021-06-05 14:49:32 +02:00
parent c7f12ce825
commit aaf3515048
2 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,9 @@ auto_restore_default="off"
auto_restore_halt_file="${HOME}/tmux_no_auto_restore"
auto_restore_max_delay_option="@continuum-restore-max-delay"
auto_restore_max_delay_default="10"
# tmux auto start options
auto_start_option="@continuum-boot"
auto_start_default="off"