diff options
| author | Arseny Maslennikov <ar@cs.msu.ru> | 2021-02-22 20:29:55 -0800 |
|---|---|---|
| committer | Bart Schaefer <schaefer@ipost.com> | 2021-02-22 20:29:55 -0800 |
| commit | 8b67c36d929c2661a1f4e28ff137c7ddd53ec33d (patch) | |
| tree | c5442c1779c953e3bff3f0d65cb08cf43907f347 /Completion/Unix/Command | |
| parent | 47867: Fix RPROMPT typo in prompinit (diff) | |
| download | zsh-8b67c36d929c2661a1f4e28ff137c7ddd53ec33d.tar zsh-8b67c36d929c2661a1f4e28ff137c7ddd53ec33d.tar.gz zsh-8b67c36d929c2661a1f4e28ff137c7ddd53ec33d.tar.bz2 zsh-8b67c36d929c2661a1f4e28ff137c7ddd53ec33d.tar.lz zsh-8b67c36d929c2661a1f4e28ff137c7ddd53ec33d.tar.xz zsh-8b67c36d929c2661a1f4e28ff137c7ddd53ec33d.tar.zst zsh-8b67c36d929c2661a1f4e28ff137c7ddd53ec33d.zip | |
48094: apply cleanup commands of the current theme on any theme change
* 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.
Diffstat (limited to 'Completion/Unix/Command')
0 files changed, 0 insertions, 0 deletions
