1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-11 21:50:57 +01:00
zsh/Functions/Prompts
Arseny Maslennikov 8b67c36d92 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.
2021-02-22 20:29:55 -08:00
..
.distfiles
prompt_adam1_setup
prompt_adam2_setup
prompt_bart_setup
prompt_bigfade_setup
prompt_clint_setup
prompt_default_setup
prompt_elite2_setup
prompt_elite_setup
prompt_fade_setup
prompt_fire_setup
prompt_off_setup
prompt_oliver_setup
prompt_pws_setup
prompt_redhat_setup
prompt_restore_setup
prompt_special_chars
prompt_suse_setup
prompt_walters_setup
prompt_zefram_setup
promptinit