Merge pull request #89 from alfredbez/patch-1

Link to tmux-resurrect for restoring previously saved environment instructions
This commit is contained in:
Bruno Sutic 2021-03-13 11:50:07 +01:00 committed by GitHub
commit 3845e73f94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,17 +9,7 @@ previous save.
> I want to make a restore to a previous point in time, but it seems that save > I want to make a restore to a previous point in time, but it seems that save
is now overwritten? is now overwritten?
None of the previous saves are deleted (unless you explicitly do that). All save Read how to [restore a previously saved environment](https://github.com/tmux-plugins/tmux-resurrect/blob/master/docs/restoring_previously_saved_environment.md)
files are kept in `~/.tmux/resurrect/` directory.<br/>
Here are the steps to restore to a previous point in time:
- make sure you start this with a "fresh" tmux instance
- `$ cd ~/.tmux/resurrect/`
- locate the save file you'd like to use for restore (file names have a timestamp)
- symlink the `last` file to the desired save file: `$ ln -sf <file_name> last`
- do a restore with `tmux-resurrect` key: `prefix + Ctrl-r`
You should now be restored to the time when `<file_name>` save happened.
> Will this plugin fill my hard disk? > Will this plugin fill my hard disk?