Document how to disable autosave

parent 1588471e
......@@ -7,3 +7,4 @@
- add a check for tmux version to the initializer script
- when interval is set to '0' autosave is disabled
- bugfix: helper files not loaded
- update readme with the instructions how to disable auto saving
......@@ -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
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment