summaryrefslogtreecommitdiff
path: root/Functions/Prompts/promptinit
AgeCommit message (Collapse)AuthorFilesLines
2025-03-3153413: "print -rP" in preview, in case of special charactersFrank Dana1-1/+1
2022-03-08promptinit: only exclude current theme from preview if no arguments are givenMikael Magnusson1-3/+2
2021-05-1648853: improved handling of theme resets when changing prompt themes, ↵Marlon Richert1-94/+71
especially for theme preview
2021-02-2248094: apply cleanup commands of the current theme on any theme changeArseny Maslennikov1-19/+35
* 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-1947867: Fix RPROMPT typo in prompinitArseny Maslennikov1-2/+2
2017-07-2941472: introduce cleanup hooks default and restore special themes, and ↵Barton E. Schaefer1-29/+91
update documentation
2015-11-2237192: silence WARN_CREATE_GLOBAL in prompt themesBarton E. Schaefer1-1/+1
2012-05-0230461, 30462 (tweaked): add missing local for match, mbegin and mendMikael Magnusson1-0/+1
2012-01-0530087: Christian Höltje: remove any hooks with prompt themePeter Stephenson1-2/+4
2011-12-1330020: prevent prompt_opts and zle_highlight from leaking out ofBart Schaefer1-1/+2
prompt_preview_theme
2010-07-28c.f. users/15202: use "autoload -Uz" consistentlyPeter Stephenson1-2/+2
2010-07-28c.f. users/15202: use "autoload -Uz" consistentlyPeter Stephenson1-1/+1
2008-12-02Frank Terbeck: 26104: eliminate WARN_CREATE_GLOBAL warningsPeter Stephenson1-3/+4
2008-10-10Quote expansion of prompt_opts in prompt() because zsh emulation is byBart Schaefer1-1/+1
necessity not enforced there.
2008-07-1125276: use autoload -z for zsh-autoload functionsPeter Stephenson1-1/+1
2008-05-1725095: thorough modernization of prompt theme systemPeter Stephenson1-18/+19
2007-10-3124043: remove one "emulate" that was too manyBart Schaefer1-1/+0
2007-10-14zsh-users/12008: Assert zsh emulation to avoid setopt problems; don't tryBart Schaefer1-2/+5
to run precmd or preexec if they don't exist.
2006-09-2122739: arno: different test for theme in prompt -cPeter Stephenson1-1/+1
2005-05-10Misc. prompt theme repairsBart Schaefer1-0/+1
2000-09-04Create "User Contributions" doc and make some assoctiated changes.Bart Schaefer1-2/+3
2000-06-1111866: More ANSI color stuff; preserve more state during prompt previewing.Bart Schaefer1-35/+119
1999-10-04Initial revisionTanaka Akira1-0/+107