about summary refs log tree commit diff
path: root/Functions/Prompts/prompt_restore_setup
Commit message (Collapse)AuthorAgeFilesLines
* 48094: apply cleanup commands of the current theme on any theme changeArseny Maslennikov2021-02-221-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.
* 41472: introduce cleanup hooks default and restore special themes, and ↵Barton E. Schaefer2017-07-291-0/+2
update documentation