Frank Dana
b707a60351
53414: attempting to preview the "restore" keyword is nonsensical
2025-03-31 15:22:00 -07:00
Frank Dana
d70b70ada6
53413: "print -rP" in preview, in case of special characters
2025-03-31 15:17:42 -07:00
Sebastian Gniazdowski
02a99863b0
52145: Prompt theme with current time and abbreviated VCS_info.
2023-11-29 15:28:56 -08:00
Mikael Magnusson
28410bd5bc
promptinit: only exclude current theme from preview if no arguments are given
2022-03-08 19:37:21 +01:00
Marlon Richert
7383baf4cf
48853: improved handling of theme resets when changing prompt themes, especially for theme preview
2021-05-16 21:18:06 -07:00
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
Arseny Maslennikov
5c60ec46ec
47867: Fix RPROMPT typo in prompinit
2021-02-19 18:39:22 -06:00
Martijn Dekker
d81238ee95
45003: Fix more documentation typos
2019-12-11 02:37:39 +00:00
Barton E. Schaefer
43e55a9bcd
41472: introduce cleanup hooks default and restore special themes, and update documentation
2017-07-29 16:58:39 -07:00
Peter Stephenson
d78761c003
41345: Use consistent prompt variables in prompt themese.
...
Some more sanity may be needed in this area but this apsect seems
uncontroversial.
2017-06-26 11:16:38 +01:00
Daniel Shahaf
694aee4c3d
37214: 'prompt walters': Don't export PS1
2015-11-27 07:27:23 +00:00
Barton E. Schaefer
14487ff5cc
37192: silence WARN_CREATE_GLOBAL in prompt themes
2015-11-22 10:19:49 -08:00
Mikael Magnusson
095dd71cc0
36314: Avoid using short_loops syntax in distributed files
2015-08-28 09:37:37 +02:00
Barton E. Schaefer
1629d5bcbd
add RPS2 handling to "prompt bart", update help text, clean up indentation whitespace
2015-07-25 15:48:10 -07:00
Barton E. Schaefer
7bc47c91e9
35660: prompt_adam1_setup: avoid perl, fix help
2015-06-28 20:19:04 -07:00
Peter Stephenson
cc6e9db29d
33047: use git to simplify massively source distribution file selection
2014-08-23 21:01:58 +01:00
Mikael Magnusson
2a7c994ed4
30468: prompt_fade_setup: add missing $
2012-05-14 15:24:20 +00:00
Mikael Magnusson
150dc9021b
30461, 30462 (tweaked): add missing local for match, mbegin and mend
2012-05-02 13:09:37 +00:00
Wayne Davison
a6dbc79065
30214: emulate bash's \$ prompt behavior.
2012-02-14 05:22:01 +00:00
Frank Terbeck
6157e2d00b
30214: prompt_redhat_setup: Fix quoting in `redhat' prompt.
2012-02-13 20:06:49 +00:00
Peter Stephenson
942fe9d6de
30087: Christian Höltje: remove any hooks with prompt theme
2012-01-05 20:04:09 +00:00
Bart Schaefer
c33f3b0747
30020: prevent prompt_opts and zle_highlight from leaking out of
...
prompt_preview_theme
2011-12-13 17:43:55 +00:00
Bart Schaefer
557baa173c
users/16291: prompt_bart_preexec uses history text in the non-"fg" case
...
to avoid alias expansion.
2011-08-29 16:08:28 +00:00
Bart Schaefer
fdcabaf507
Use preexec hook to replace "fg" et al. with the jobtext of the resumed job.
2011-08-18 02:23:31 +00:00
Bart Schaefer
1a3612f119
Adrian: 28857: Functions/Prompts/prompt_bigfade_setup: use %d instead of $PWD
2011-03-05 17:34:21 +00:00
Peter Stephenson
4de3dbac16
c.f. users/15202: use "autoload -Uz" consistently
2010-07-28 14:01:12 +00:00
Peter Stephenson
10c2f225fd
c.f. users/15202: use "autoload -Uz" consistently
2010-07-28 13:33:52 +00:00
Clint Adams
2746eec722
unposted: change bracket colors default to yellow when in an ssh session.
2009-11-20 03:05:54 +00:00
Peter Stephenson
49db32f2b5
Paul Ackersviller: 26959: delay before removing test modules
...
users/14118: fix test and assignment in prompt_special_chars
2009-05-13 08:39:47 +00:00
Peter Stephenson
d1abd3e7cf
26957: Fix some memory problems with read builtin
...
unposted: fix a WARN_CREATE_GLOBAL warning
2009-05-12 11:11:14 +00:00
Peter Stephenson
ec48872b7c
Frank Terbeck: 26104: eliminate WARN_CREATE_GLOBAL warnings
2008-12-02 09:33:56 +00:00
Bart Schaefer
27d940901f
Quote expansion of prompt_opts in prompt() because zsh emulation is by
...
necessity not enforced there.
2008-10-10 09:53:48 +00:00
Clint Adams
1870a858ea
25697: drop git code and switch to vcs_info.
2008-09-21 12:42:36 +00:00
Bart Schaefer
ae79d264a3
25600: fix incorrect pattern introduced by 25059.
2008-09-03 03:12:01 +00:00
Peter Stephenson
ffabab4e74
25276: use autoload -z for zsh-autoload functions
2008-07-11 19:12:22 +00:00
Peter Stephenson
1ccef299a9
unposted: add prompt_pws_setup to .distfiles
2008-05-20 09:47:01 +00:00
Peter Stephenson
bf43db124a
25063: minor tweaks to Bart's prompt
2008-05-18 17:00:43 +00:00
Peter Stephenson
c894f695cc
25095: thorough modernization of prompt theme system
2008-05-17 22:42:16 +00:00
Peter Stephenson
6985a9fba3
Oliver: 24962: update prompt_oliver_setup with default highlighting
2008-05-07 20:38:51 +00:00
Clint Adams
30e6668678
unposted: fix typo in git psvar assignment.
2007-11-22 19:15:17 +00:00
Bart Schaefer
0abc65ac66
24043: remove one "emulate" that was too many
2007-10-31 16:03:07 +00:00
Bart Schaefer
a266a85f7b
unposted: make sure localtraps is unset before setting TRAPWINCH.
2007-10-14 16:35:10 +00:00
Bart Schaefer
9b33f07e10
zsh-users/12008: Assert zsh emulation to avoid setopt problems; don't try
...
to run precmd or preexec if they don't exist.
2007-10-14 16:34:15 +00:00
Clint Adams
fe219a362b
23947: remove apm battery status and add git branch detection.
2007-10-13 13:33:04 +00:00
Peter Stephenson
876fa2c44e
unposted: force latest version of files from vendor to main branch
2007-07-03 17:06:04 +00:00
Peter Stephenson
88301c1c73
users/11568: use UTF-8 characters in some prompt themes
2007-06-14 16:10:50 +00:00
Clint Adams
b629acabcc
Remove conversion comment.
2007-06-12 15:51:41 +00:00
Peter Stephenson
d09274dcd8
22739: arno: different test for theme in prompt -c
2006-09-21 16:48:21 +00:00
Peter Stephenson
295953df75
22672: arno: unset ksharrays for prompt functions
2006-09-07 18:09:44 +00:00
Bart Schaefer
27efdc8dab
More adjustements for PROMPT_SP
2005-08-15 03:29:10 +00:00