Marc Cornellà
c90141ed77
fix: escape % characters in git prompts
...
This patch adds missing % character escaping for custom git prompts
used in a few themes. It also includes escaping for git-prompt.sh.
In combination with CVE-2021-45444, this could allow code execution
when displaying branch information in cloned malicious git repositories.
However, zsh 5.8.1 and newer are largely the default zsh versions, and
on those supported distributions with older zsh versions, the CVE has been
found to be also patched.
For this reason, this doesn't qualify as a security patch, but a
bug fix for proper printing of git branches.
2026-05-28 19:45:47 +02:00
..
3den.zsh-theme
Themes: switch to using ruby_prompt_info()
2019-05-08 08:45:34 +02:00
adben.zsh-theme
style: remove trailing whitespace ( #12303 )
2024-03-26 09:55:16 +01:00
af-magic.zsh-theme
fix(af-magic): fix venv prompt counting parenthesis ( #13190 )
2025-06-29 17:11:47 +02:00
afowler.zsh-theme
feat(afowler): add mercurial support
2021-12-13 11:17:13 +01:00
agnoster.zsh-theme
feat(agnoster): add terraform to prompt ( #7892 )
2025-06-09 20:40:46 +02:00
alanpeabody.zsh-theme
Themes: switch to using ruby_prompt_info()
2019-05-08 08:45:34 +02:00
amuse.zsh-theme
feat(amuse): add whitespace before virtualenv ( #12423 )
2024-05-15 19:27:21 +02:00
apple.zsh-theme
fix(apple): go back to previous icon
2023-05-03 11:19:41 +02:00
arrow.zsh-theme
Remove non-existing %p prompt sequence from themes
2020-08-04 15:55:04 +02:00
aussiegeek.zsh-theme
fix(aussiegeek): quote color sequences
2024-09-24 18:18:17 +02:00
avit.zsh-theme
style: remove trailing whitespace ( #12303 )
2024-03-26 09:55:16 +01:00
awesomepanda.zsh-theme
Revert "fix(awesomepanda): new line wrap" ( #12651 )
2024-09-03 23:35:22 +02:00
bira.zsh-theme
feat(bira): add conda env information (requires conda-env plugin) ( #12546 )
2024-07-15 19:17:05 +02:00
blinks.zsh-theme
fix(blinks)!: use default instead of black color ( #13123 )
2025-05-22 11:27:34 +02:00
bureau.zsh-theme
fix(bureau): properly display git stash info ( #11711 )
2023-05-24 14:32:26 +02:00
candy-kingdom.zsh-theme
fix: quote % in box_name prompt functions
2022-01-03 13:50:52 +01:00
candy.zsh-theme
localization support for clock in candy theme
2016-03-30 21:46:39 +02:00
clean.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
cloud.zsh-theme
Remove non-existing %p prompt sequence from themes
2020-08-04 15:55:04 +02:00
crcandy.zsh-theme
crcandy: use 24h format in prompt ( #7926 )
2019-06-14 14:46:08 +02:00
crunch.zsh-theme
style: remove trailing whitespace ( #12303 )
2024-03-26 09:55:16 +01:00
cypher.zsh-theme
Fix graphical bug in cypher theme when return status is non-zero
2015-08-16 22:53:07 -06:00
dallas.zsh-theme
chore: fix spelling errors across the project ( #10459 )
2021-12-01 12:20:31 +01:00
darkblood.zsh-theme
Fixed darkblood theme as in issue #23 .
2009-11-09 07:15:06 +08:00
daveverwer.zsh-theme
New theme "daveverwer", based on "geoffgarside".
2010-05-08 04:30:50 +08:00
dieter.zsh-theme
style: declare globals properly
2022-01-05 09:23:54 +01:00
dogenpunk.zsh-theme
fix: disable log.showSignature in git log calls
2022-01-10 19:39:05 +01:00
dpoggi.zsh-theme
fix(dpoggi): ensure correct Ghostty rendering ( #13644 )
2026-03-24 08:50:36 +01:00
dst.zsh-theme
themes: fix prompt verbosity on window resize
2019-03-25 17:05:50 +01:00
dstufft.zsh-theme
Fix tilde substitution in theme prompts
2018-10-07 23:01:25 +02:00
duellj.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
eastwood.zsh-theme
fix: escape % characters in git prompts
2026-05-28 19:45:47 +02:00
edvardm.zsh-theme
Remove non-existing %p prompt sequence from themes
2020-08-04 15:55:04 +02:00
emotty.zsh-theme
style: remove trailing whitespace ( #12303 )
2024-03-26 09:55:16 +01:00
essembeh.zsh-theme
fix(essembeh): use async prompt ( #12512 )
2024-06-17 21:38:21 +02:00
evan.zsh-theme
Change description for Evan's theme to something neutral ( #6304 )
2019-09-08 15:05:20 +02:00
fino-time.zsh-theme
feat(fino-time): add conda environment ( #11785 )
2023-07-25 10:25:07 +02:00
fino.zsh-theme
fix: quote % in box_name prompt functions
2022-01-03 13:50:52 +01:00
fishy.zsh-theme
feat(fishy): add color to username ( #12369 )
2024-04-23 10:54:00 +02:00
flazz.zsh-theme
fix: use $USERNAME guaranteed to always be defined in zsh
2021-03-25 12:08:00 +01:00
fletcherm.zsh-theme
add fletcherm theme; a slightly modified copy of an old tonotdo theme
2010-08-19 22:29:17 +08:00
fox.zsh-theme
Remove all copyright information in themes. Closes #2587
2014-03-08 23:51:59 +06:00
frisk.zsh-theme
fix(frisk): fix color typo in PS2 ( #10839 )
2022-04-09 15:18:24 +02:00
frontcube.zsh-theme
fix(frontcube): fix escape of reset color sequence ( #10921 )
2022-07-12 19:44:32 +02:00
funky.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
fwalch.zsh-theme
Remove non-existing %p prompt sequence from themes
2020-08-04 15:55:04 +02:00
gallifrey.zsh-theme
Actions to take after repository migration is complete ( #8394 )
2019-11-20 17:26:18 -08:00
gallois.zsh-theme
fix: escape % characters in git prompts
2026-05-28 19:45:47 +02:00
garyblessington.zsh-theme
Fixed all themes so tab-completion doesn't move the cursor to a weird position
2009-11-09 22:05:00 +01:00
gentoo.zsh-theme
fix: fix svn branch output in themes: apple, gentoo, kolo, zhann ( #10751 )
2022-03-03 17:53:03 +01:00
geoffgarside.zsh-theme
Added risto theme and made git.zsh themable
2009-09-14 12:42:53 -04:00
gianu.zsh-theme
Remove all copyright information in themes. Closes #2587
2014-03-08 23:51:59 +06:00
gnzh.zsh-theme
feat(gnzh): add virtualenv prompt ( #12666 )
2024-09-18 20:42:18 +02:00
gozilla.zsh-theme
Remove non-existing %p prompt sequence from themes
2020-08-04 15:55:04 +02:00
half-life.zsh-theme
feat(half-life): add virtualenv prompt ( #11708 )
2023-05-23 08:46:46 +02:00
humza.zsh-theme
added humza.zsh-theme
2011-05-30 19:10:26 -04:00
imajes.zsh-theme
minimalist
2009-09-22 23:02:18 +01:00
intheloop.zsh-theme
Remove all copyright information in themes. Closes #2587
2014-03-08 23:51:59 +06:00
itchy.zsh-theme
Themes: switch to using ruby_prompt_info()
2019-05-08 08:45:34 +02:00
jaischeema.zsh-theme
Themes: switch to using ruby_prompt_info()
2019-05-08 08:45:34 +02:00
jbergantine.zsh-theme
Remove non-existing %p prompt sequence from themes
2020-08-04 15:55:04 +02:00
jispwoso.zsh-theme
Update theme "jispwoso" to support ret status and git
2014-12-11 19:47:29 +08:00
jnrowe.zsh-theme
style: remove VCS_INFO svn settings from themes that don't enable it
2022-03-03 17:49:12 +01:00
jonathan.zsh-theme
feat(jonathan): add conda support ( #13243 )
2025-08-01 10:08:48 +02:00
josh.zsh-theme
fix: escape % characters in git prompts
2026-05-28 19:45:47 +02:00
jreese.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
jtriley.zsh-theme
Remove non-existing %p prompt sequence from themes
2020-08-04 15:55:04 +02:00
juanghurtado.zsh-theme
fix: escape % characters in git prompts
2026-05-28 19:45:47 +02:00
junkfood.zsh-theme
style: remove trailing whitespace ( #12303 )
2024-03-26 09:55:16 +01:00
kafeitu.zsh-theme
Remove non-existing %p prompt sequence from themes
2020-08-04 15:55:04 +02:00
kardan.zsh-theme
Change all hostname calls for $HOST or $SHORT_HOST
2014-11-06 18:33:56 +01:00
kennethreitz.zsh-theme
update kennethreitz.zsh-theme
2016-02-14 04:19:46 -05:00
kiwi.zsh-theme
Detect dependency plugins in candy-kingdom and kiwi themes
2020-02-11 17:43:59 +01:00
kolo.zsh-theme
fix: fix svn branch output in themes: apple, gentoo, kolo, zhann ( #10751 )
2022-03-03 17:53:03 +01:00
kphoen.zsh-theme
Remove all copyright information in themes. Closes #2587
2014-03-08 23:51:59 +06:00
lambda.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
linuxonly.zsh-theme
style: remove VCS_INFO svn settings from themes that don't enable it
2022-03-03 17:49:12 +01:00
lukerandall.zsh-theme
fix: escape % characters in git prompts
2026-05-28 19:45:47 +02:00
macovsky-ruby.zsh-theme
Themes: switch to using ruby_prompt_info()
2019-05-08 08:45:34 +02:00
macovsky.zsh-theme
Themes: switch to using ruby_prompt_info()
2019-05-08 08:45:34 +02:00
maran.zsh-theme
Remove duplicate space on the maran theme ( #7454 )
2018-12-31 11:12:55 -08:00
mgutz.zsh-theme
my theme
2010-05-08 04:20:59 +08:00
mh.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
michelebologna.zsh-theme
fix(michelebologna): syntax, escaping, label ( #13756 )
2026-05-28 19:23:46 +02:00
mikeh.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
miloshadzic.zsh-theme
Adds my theme
2011-06-01 12:45:15 +02:00
minimal.zsh-theme
perf(mercurial): optimize utility functions
2021-12-13 10:50:50 +01:00
mira.zsh-theme
Themes: switch to using ruby_prompt_info()
2019-05-08 08:45:34 +02:00
mlh.zsh-theme
style: remove trailing whitespace ( #12303 )
2024-03-26 09:55:16 +01:00
mortalscumbag.zsh-theme
fix: escape % characters in git prompts
2026-05-28 19:45:47 +02:00
mrtazz.zsh-theme
add simple mrtazz theme based on robbyrussell
2010-08-19 07:27:05 -07:00
murilasso.zsh-theme
refactor(themes): use ruby_prompt_info everywhere
2021-12-13 17:14:25 +01:00
muse.zsh-theme
muse: clean up theme
2020-06-10 12:57:01 +02:00
nanotech.zsh-theme
themes/nanotech: Use the new built-in zsh color variables.
2010-11-14 16:53:13 -06:00
nebirhos.zsh-theme
nebirhos: use short hostname in prompt
2020-03-26 12:39:51 +01:00
nicoulaj.zsh-theme
fix(nicoluaj): avoid overriding customization params ( #12859 )
2025-03-20 19:41:27 +01:00
norm.zsh-theme
norm: add hg prompt ( #6725 )
2020-02-27 18:28:08 +01:00
obraun.zsh-theme
feat(obraun): display time with leading zeros ( #10289 )
2021-10-13 10:00:46 +02:00
oldgallois.zsh-theme
fix: escape % characters in git prompts
2026-05-28 19:45:47 +02:00
peepcode.zsh-theme
fix: escape % characters in git prompts
2026-05-28 19:45:47 +02:00
philips.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
pmcgee.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
pygmalion-virtualenv.zsh-theme
fix(themes): fix potential command injection in pygmalion, pygmalion-virtualenv and refined
2021-11-11 22:45:40 +01:00
pygmalion.zsh-theme
refactor(pygmalion): simplify theme logic and prompt sequences ( #12550 )
2024-07-12 18:18:20 +02:00
random.zsh-theme
fix(random): fix negated logic in ZSH_THEME_RANDOM_QUIET
2021-12-28 11:04:13 +01:00
re5et.zsh-theme
fix: use $USERNAME guaranteed to always be defined in zsh
2021-03-25 12:08:00 +01:00
refined.zsh-theme
docs: fix some capitalization typos( #11293 )
2022-11-04 19:34:02 +01:00
rgm.zsh-theme
Add my preferred prompt
2010-05-08 04:26:47 +08:00
risto.zsh-theme
Added risto theme and made git.zsh themable
2009-09-14 12:42:53 -04:00
rixius.zsh-theme
Remove all copyright information in themes. Closes #2587
2014-03-08 23:51:59 +06:00
rkj-repos.zsh-theme
fix: escape % characters in git prompts
2026-05-28 19:45:47 +02:00
rkj.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
robbyrussell.zsh-theme
fix(robbyrussell): line wrapping for some systems ( #12058 )
2023-11-24 09:45:32 +01:00
sammy.zsh-theme
Black on white theme inspired by Sam Stephenson's terminal screenshot on https://github.com/sstephenson/rbenv
2011-12-26 13:16:26 +10:00
simonoff.zsh-theme
fix: declare variables as global when using typeset
2021-12-16 10:16:53 +01:00
simple.zsh-theme
feat(simple): add color to git status indicator ( #4962 )
2022-01-24 11:47:30 +01:00
skaro.zsh-theme
added skaro theme
2010-05-08 04:32:35 +08:00
smt.zsh-theme
fix: disable log.showSignature in git log calls
2022-01-10 19:39:05 +01:00
Soliah.zsh-theme
style: remove trailing whitespace ( #12303 )
2024-03-26 09:55:16 +01:00
sonicradish.zsh-theme
fix(sonicradish): reset color typo ( #12912 )
2025-01-15 17:03:32 +01:00
sorin.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
sporty_256.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
steeef.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
strug.zsh-theme
Added a possibility to display the remote branch and the number of commits you are ahead or behind
2015-06-10 14:36:54 +02:00
sunaku.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
sunrise.zsh-theme
fix: escape % characters in git prompts
2026-05-28 19:45:47 +02:00
superjarin.zsh-theme
Merge simplified superjarin theme
2014-11-10 18:42:31 -08:00
suvash.zsh-theme
Themes: switch to using ruby_prompt_info()
2019-05-08 08:45:34 +02:00
takashiyoshida.zsh-theme
Added my own theme.
2010-06-05 23:24:21 +08:00
terminalparty.zsh-theme
terminal party show exit status with color
2014-07-08 21:51:48 -07:00
theunraveler.zsh-theme
Updating theunraveler theme to include more detailed git info.
2010-12-19 21:08:21 -06:00
tjkirch.zsh-theme
themes: fix prompt verbosity on window resize
2019-03-25 17:05:50 +01:00
tjkirch_mod.zsh-theme
themes: fix prompt verbosity on window resize
2019-03-25 17:05:50 +01:00
tonotdo.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
trapd00r.zsh-theme
style: remove VCS_INFO svn settings from themes that don't enable it
2022-03-03 17:49:12 +01:00
wedisagree.zsh-theme
style: remove trailing whitespace ( #12303 )
2024-03-26 09:55:16 +01:00
wezm+.zsh-theme
Added customized version of the wezm theme (mainly added username/host in the prompt).
2010-05-28 08:14:13 +08:00
wezm.zsh-theme
Add my own theme
2009-10-08 09:50:32 +11:00
wuffers.zsh-theme
adding rbenv support to all the rvm themes
2012-01-23 20:42:54 -05:00
xiong-chiamiov-plus.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
xiong-chiamiov.zsh-theme
use https everywhere ( #6574 )
2018-08-07 20:42:01 +02:00
ys.zsh-theme
fix(ys): fix $VIRTUAL_ENV check if nounset is enabled ( #9915 )
2022-01-27 21:48:42 +01:00
zhann.zsh-theme
fix: fix svn branch output in themes: apple, gentoo, kolo, zhann ( #10751 )
2022-03-03 17:53:03 +01:00