mirror of
https://github.com/tmux-plugins/tmux-continuum.git
synced 2024-11-22 03:08:48 +00:00
Document how to disable autosave
This commit is contained in:
parent
1588471ed0
commit
232c8df7f3
@ -7,3 +7,4 @@
|
|||||||
- add a check for tmux version to the initializer script
|
- add a check for tmux version to the initializer script
|
||||||
- when interval is set to '0' autosave is disabled
|
- when interval is set to '0' autosave is disabled
|
||||||
- bugfix: helper files not loaded
|
- bugfix: helper files not loaded
|
||||||
|
- update readme with the instructions how to disable auto saving
|
||||||
|
19
README.md
19
README.md
@ -76,11 +76,24 @@ Most likely no. A regular save file is in the range of 5Kb. That said, it
|
|||||||
would be good to clean out old save files from `~/.tmux/resurrect/` dir from
|
would be good to clean out old save files from `~/.tmux/resurrect/` dir from
|
||||||
time to time.
|
time to time.
|
||||||
|
|
||||||
### Configuration
|
> How do I change the save interval to i.e. 1 hour?
|
||||||
|
|
||||||
- set the save interval to 60 minutes (the default is 15, the number is always in minutes)
|
The interval is always measured in minutes. So setting the interval to `60`
|
||||||
|
(minutes) will do the trick. Put this in `.tmux.conf`:
|
||||||
|
|
||||||
set -g @resurrect-auto-save-interval '60'
|
set -g @resurrect-auto-save-interval '60'
|
||||||
|
|
||||||
|
and then source `tmux.conf` by executing this command in the shell
|
||||||
|
`tmux source ~/.tmux.conf`.
|
||||||
|
|
||||||
|
> How do I stop automatic saving?
|
||||||
|
|
||||||
|
Just set the save interval to `0`. Put this in `.tmux.conf`
|
||||||
|
|
||||||
|
set -g @resurrect-auto-save-interval '0'
|
||||||
|
|
||||||
|
and then source `tmux.conf` by executing this command in the shell
|
||||||
|
`tmux source ~/.tmux.conf`.
|
||||||
|
|
||||||
### Other goodies
|
### Other goodies
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user