mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-11-24 13:58:48 +00:00
Revert "Symlink 'last' file at the end of successful save"
This reverts commit 6750a88e74
.
This commit is contained in:
parent
6750a88e74
commit
370b4861cb
@ -17,7 +17,6 @@
|
|||||||
- make archive & compress pane contents process more portable
|
- make archive & compress pane contents process more portable
|
||||||
- `mutt` added to the list of automatically restored programs
|
- `mutt` added to the list of automatically restored programs
|
||||||
- added guide for migrating from tmuxinator
|
- added guide for migrating from tmuxinator
|
||||||
- symlink `last` file only after successful save
|
|
||||||
|
|
||||||
### v2.4.0, 2015-02-23
|
### v2.4.0, 2015-02-23
|
||||||
- add "tmux-test"
|
- add "tmux-test"
|
||||||
|
@ -259,6 +259,7 @@ save_all() {
|
|||||||
dump_panes >> "$resurrect_file_path"
|
dump_panes >> "$resurrect_file_path"
|
||||||
dump_windows >> "$resurrect_file_path"
|
dump_windows >> "$resurrect_file_path"
|
||||||
dump_state >> "$resurrect_file_path"
|
dump_state >> "$resurrect_file_path"
|
||||||
|
ln -fs "$(basename "$resurrect_file_path")" "$(last_resurrect_file)"
|
||||||
if capture_pane_contents_option_on; then
|
if capture_pane_contents_option_on; then
|
||||||
mkdir -p "$(pane_contents_dir)"
|
mkdir -p "$(pane_contents_dir)"
|
||||||
dump_pane_contents
|
dump_pane_contents
|
||||||
@ -268,7 +269,6 @@ save_all() {
|
|||||||
if save_bash_history_option_on; then
|
if save_bash_history_option_on; then
|
||||||
dump_bash_history
|
dump_bash_history
|
||||||
fi
|
fi
|
||||||
ln -fs "$(basename "$resurrect_file_path")" "$(last_resurrect_file)"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
show_output() {
|
show_output() {
|
||||||
|
Loading…
Reference in New Issue
Block a user