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")"/*