pull/216/merge
Cedric Pimenta 2018-08-24 23:39:06 +00:00 committed by GitHub
commit 599d83d8d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View File

@ -14,6 +14,7 @@ ps_command_flags() {
case $(uname -s) in
FreeBSD) echo "-ao" ;;
OpenBSD) echo "-ao" ;;
Linux) echo "-ao" ;;
*) echo "-eo" ;;
esac
}

View File

@ -258,9 +258,9 @@ restore_all_panes() {
restore_pane "$line"
fi
done < $(last_resurrect_file)
if is_restoring_pane_contents; then
rm "$(pane_contents_dir "restore")"/*
fi
# if is_restoring_pane_contents; then
# rm "$(pane_contents_dir "restore")"/*
# fi
}
restore_pane_layout_for_each_window() {

View File

@ -293,7 +293,7 @@ save_all() {
mkdir -p "$(pane_contents_dir "save")"
dump_pane_contents
pane_contents_create_archive
rm "$(pane_contents_dir "save")"/*
# rm "$(pane_contents_dir "save")"/*
fi
if save_shell_history_option_on; then
dump_shell_history