1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-07 11:41:16 +02: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 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
prompt_adam1_setup 37192: silence WARN_CREATE_GLOBAL in prompt themes 2015-11-22 10:19:49 -08:00
prompt_adam2_setup 37192: silence WARN_CREATE_GLOBAL in prompt themes 2015-11-22 10:19:49 -08:00
prompt_bart_setup 41472: introduce cleanup hooks default and restore special themes, and update documentation 2017-07-29 16:58:39 -07:00
prompt_bigfade_setup Adrian: 28857: Functions/Prompts/prompt_bigfade_setup: use %d instead of $PWD 2011-03-05 17:34:21 +00:00
prompt_clint_setup 37192: silence WARN_CREATE_GLOBAL in prompt themes 2015-11-22 10:19:49 -08:00
prompt_default_setup 41472: introduce cleanup hooks default and restore special themes, and update documentation 2017-07-29 16:58:39 -07:00
prompt_elite2_setup 25276: use autoload -z for zsh-autoload functions 2008-07-11 19:12:22 +00:00
prompt_elite_setup 25276: use autoload -z for zsh-autoload functions 2008-07-11 19:12:22 +00:00
prompt_fade_setup 30468: prompt_fade_setup: add missing $ 2012-05-14 15:24:20 +00:00
prompt_fire_setup 25276: use autoload -z for zsh-autoload functions 2008-07-11 19:12:22 +00:00
prompt_off_setup 41472: introduce cleanup hooks default and restore special themes, and update documentation 2017-07-29 16:58:39 -07:00
prompt_oliver_setup 45003: Fix more documentation typos 2019-12-11 02:37:39 +00:00
prompt_pws_setup 25095: thorough modernization of prompt theme system 2008-05-17 22:42:16 +00:00
prompt_redhat_setup 30214: emulate bash's \$ prompt behavior. 2012-02-14 05:22:01 +00:00
prompt_restore_setup 48094: apply cleanup commands of the current theme on any theme change 2021-02-22 20:29:55 -08:00
prompt_special_chars 37192: silence WARN_CREATE_GLOBAL in prompt themes 2015-11-22 10:19:49 -08:00
prompt_suse_setup 25095: thorough modernization of prompt theme system 2008-05-17 22:42:16 +00:00
prompt_walters_setup 41345: Use consistent prompt variables in prompt themese. 2017-06-26 11:16:38 +01:00
prompt_zefram_setup 25095: thorough modernization of prompt theme system 2008-05-17 22:42:16 +00:00
promptinit 48094: apply cleanup commands of the current theme on any theme change 2021-02-22 20:29:55 -08:00