summaryrefslogtreecommitdiff
path: root/Functions/Prompts/prompt_restore_setup
AgeCommit message (Collapse)AuthorFilesLines
2025-03-3153414: attempting to preview the "restore" keyword is nonsensicalFrank Dana1-3/+11
2021-02-2248094: apply cleanup commands of the current theme on any theme changeArseny Maslennikov1-0/+1
* Rename zstyle `cleanup' on the context `:prompt-theme' to `restore' everywhere but in prompt_cleanup(). It is only used as a restore mechanism now. * Ensure prompt_cleanup() continues to store its command list in the `cleanup' style. * Clean up before theme switch at the end of set_prompt(). * Prepend every use of prompt_*_setup (which might modify the shell state in ways that require cleanup) with a cleanup run. * Adjust `prompt restore' to do both parts of the newly split restore mechanism, cleanup first.
2017-07-2941472: introduce cleanup hooks default and restore special themes, and ↵Barton E. Schaefer1-0/+2
update documentation