Attached (again, sorry, GMail) is a patch to the prompt_restore_setup
"theme" file, which prevents it from being previewed with the default
prompt_preview_theme.
Because 'restore' is NOT a theme, per se, it can't really be usefully
previewed. And attempting to preview it either alone ('prompt -p
restore') or as part of the default preview listing that shows all but
the current theme ('prompt -p') can cause terminal badness that
interferes with the preview of the other themes.
This patch solves that by adding a custom preview function to the
"theme" file, which instead of previewing anything just prints this
message:
The prompt command 'restore' is not a theme and cannot be previewed.
...An alternative approach (possibly better, but also more involved)
to addressing this would be to modify promptinit so it just silently
excluded 'restore' (and possibly other non-theme "themes") from the
list of themes to preview.
This was way easier, though.