mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-12-25 16:58:49 +00:00
Revert "remove pane contents cleanup to repair restore"
This reverts commit 0a6f90788f
.
This commit is contained in:
parent
573897cd71
commit
ba59a2b642
@ -258,6 +258,9 @@ restore_all_panes() {
|
||||
restore_pane "$line"
|
||||
fi
|
||||
done < $(last_resurrect_file)
|
||||
if is_restoring_pane_contents; then
|
||||
pane_content_files_cleanup
|
||||
fi
|
||||
}
|
||||
|
||||
restore_pane_layout_for_each_window() {
|
||||
|
@ -269,6 +269,7 @@ save_all() {
|
||||
mkdir -p "$(pane_contents_dir)"
|
||||
dump_pane_contents
|
||||
pane_contents_create_archive
|
||||
pane_content_files_cleanup
|
||||
fi
|
||||
if save_bash_history_option_on; then
|
||||
dump_bash_history
|
||||
|
Loading…
Reference in New Issue
Block a user