mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-11-22 04:18:48 +00:00
remove pane contents cleanup to repair restore
as suggested in https://github.com/tmux-plugins/tmux-resurrect/issues/141
This commit is contained in:
parent
b8cc90a7f4
commit
0a6f90788f
@ -258,9 +258,6 @@ restore_all_panes() {
|
|||||||
restore_pane "$line"
|
restore_pane "$line"
|
||||||
fi
|
fi
|
||||||
done < $(last_resurrect_file)
|
done < $(last_resurrect_file)
|
||||||
if is_restoring_pane_contents; then
|
|
||||||
pane_content_files_cleanup
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
restore_pane_layout_for_each_window() {
|
restore_pane_layout_for_each_window() {
|
||||||
|
@ -264,7 +264,6 @@ save_all() {
|
|||||||
mkdir -p "$(pane_contents_dir)"
|
mkdir -p "$(pane_contents_dir)"
|
||||||
dump_pane_contents
|
dump_pane_contents
|
||||||
pane_contents_create_archive
|
pane_contents_create_archive
|
||||||
pane_content_files_cleanup
|
|
||||||
fi
|
fi
|
||||||
if save_bash_history_option_on; then
|
if save_bash_history_option_on; then
|
||||||
dump_bash_history
|
dump_bash_history
|
||||||
|
Loading…
Reference in New Issue
Block a user