From 0a6f90788f03caadde81b9e43e7cfd5ff85a9f7c Mon Sep 17 00:00:00 2001 From: Klas Mellbourn Date: Sun, 7 May 2017 19:35:06 +0200 Subject: [PATCH] remove pane contents cleanup to repair restore as suggested in https://github.com/tmux-plugins/tmux-resurrect/issues/141 --- scripts/restore.sh | 3 --- scripts/save.sh | 1 - 2 files changed, 4 deletions(-) diff --git a/scripts/restore.sh b/scripts/restore.sh index 50d4cbb..c5c4fe2 100755 --- a/scripts/restore.sh +++ b/scripts/restore.sh @@ -258,9 +258,6 @@ 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() { diff --git a/scripts/save.sh b/scripts/save.sh index 137e229..8564fe2 100755 --- a/scripts/save.sh +++ b/scripts/save.sh @@ -264,7 +264,6 @@ 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