From 027960ad25895701a8fbc0a1eb4a8cb477452d20 Mon Sep 17 00:00:00 2001 From: Bruno Sutic Date: Sun, 19 Dec 2021 16:21:44 +0100 Subject: [PATCH] Explain delayed pane content cleanup --- scripts/restore.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/restore.sh b/scripts/restore.sh index 835e42c..af7a431 100755 --- a/scripts/restore.sh +++ b/scripts/restore.sh @@ -372,6 +372,8 @@ restore_active_and_alternate_sessions() { done < $(last_resurrect_file) } +# A cleanup that happens after 'restore_all_panes' seems to fix fish shell +# users' restore problems. cleanup_restored_pane_contents() { if is_restoring_pane_contents; then rm "$(pane_contents_dir "restore")"/*