File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ Optional:
49
49
50
50
- [ restoring vim and neovim sessions] ( docs/restoring_vim_and_neovim_sessions.md )
51
51
- [ restoring pane contents] ( docs/restoring_pane_contents.md )
52
+ - [ restoring a previously saved environment] ( docs/restoring_previously_saved_environment.md )
52
53
53
54
Requirements / dependencies: ` tmux 1.9 ` or higher, ` bash ` .
54
55
Original file line number Diff line number Diff line change
1
+ # Restoring previously saved environment
2
+
3
+ None of the previous saves are deleted (unless you explicitly do that). All save
4
+ files are kept in ` ~/.tmux/resurrect/ ` directory.<br />
5
+ Here are the steps to restore to a previous point in time:
6
+
7
+ - make sure you start this with a "fresh" tmux instance
8
+ - ` $ cd ~/.tmux/resurrect/ `
9
+ - locate the save file you'd like to use for restore (file names have a timestamp)
10
+ - symlink the ` last ` file to the desired save file: ` $ ln -sf <file_name> last `
11
+ - do a restore with ` tmux-resurrect ` key: ` prefix + Ctrl-r `
12
+
13
+ You should now be restored to the time when ` <file_name> ` save happened.
You can’t perform that action at this time.
0 commit comments