Robby Russell and John Pocock
e6561f578f
fix(agnoster): respect conda changeps1 and escape env name ( #14042 )
...
Co-authored-by: John Pocock <john_pocock@me.com >
2026-09-10 13:49:39 +02:00
Robby Russell
3079e2f0b5
fix(jonathan): use a literal dash in the UTF-8 fill bar ( #14054 )
2026-09-09 17:01:18 +02:00
Berken Tekin
d217d05374
feat(strug): distinguish the root shell in the prompt ( #9723 )
2026-09-08 14:36:55 -07:00
Marc Cornellà
0912e05c05
fix(jonathan): make compatible with Ghostty shell-integration ( #13917 )
...
The issue is that Ghostty shell-integration tries to parse PS1. How we're
defining it now, the precmd function from Ghostty does not properly read
the newlines, resulting in broken prompts. This doesn't happen if:
- Zsh is reloaded (`omz reload` or `exec zsh`)
- Ghostty shell integration is disabled (`shell-integration = none` in config)
This fix just removes the newlines, and it's enough to fix the integration.
2026-08-06 09:20:53 +02:00
kapil971390 and kapilvus
8c8782e362
fix(josh): escape % in branch before computing branch_size ( #13835 )
...
Co-authored-by: kapilvus <kapilvus@gmail.com >
2026-07-07 10:47:59 +02:00
vladislav doster
81becab1e7
docs: typos ( #13846 )
...
Signed-off-by: vladdoster <vladislav.doster@icloud.com >
2026-07-01 10:42:26 +02:00
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
Michele Bologna
8eff9a5455
fix(michelebologna): syntax, escaping, label ( #13756 )
2026-05-28 19:23:46 +02:00
Nathanael Tehilla Gunawan
7e7cb5a23c
fix(dpoggi): ensure correct Ghostty rendering ( #13644 )
2026-03-24 08:50:36 +01:00
Vanildo Souto Mangueira
28ac0e95da
fix(juanghurtado): Changed text color to red when 'root' ( #7104 )
2025-09-01 11:31:29 -07:00
Parintorn Thammasitboon
a6beb0f595
feat(jonathan): add conda support ( #13243 )
2025-08-01 10:08:48 +02:00
Kalle Ahlström
cb72d7dcbf
fix(af-magic): fix venv prompt counting parenthesis ( #13190 )
2025-06-29 17:11:47 +02:00
Rob Lugton
3ff8c7ef67
feat(agnoster): add terraform to prompt ( #7892 )
2025-06-09 20:40:46 +02:00
AYO_YO and Carlo Sala
ac5295678f
feat(agnoster): add conda support ( #13160 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com >
2025-06-08 10:23:48 +02:00
G'lek Tarssza
0354add542
fix(blinks)!: use default instead of black color ( #13123 )
2025-05-22 11:27:34 +02:00
Pedro A. Aranda Gutiérrez and Carlo Sala
95a0ece8d3
fix(agnoster): respect bg / fg user envs ( #12897 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com >
2025-04-19 20:19:23 +02:00
Hong Xu
da2510c199
fix(nicoluaj): avoid overriding customization params ( #12859 )
2025-03-20 19:41:27 +01:00
tuzi3040
6e7ac0544e
fix(agnoster): print white text over black for light theme only ( #12983 )
2025-02-19 12:37:18 +01:00
Adrien Plazas
92da3108b5
fix(agnoster): print white text over black ( #12525 )
2025-02-14 10:18:01 +01:00
0e99f402cd
feat(agnoster): add color config and add some git stuff ( #12505 )
...
Co-authored-by: Kilobyte22 <stiepen22@gmx.de >
Co-authored-by: Carlo Sala <carlosalag@protonmail.com >
2025-02-12 20:33:35 +01:00
Abhijeet Vashistha
028d653632
fix(sonicradish): reset color typo ( #12912 )
2025-01-15 17:03:32 +01:00
Kalle Ahlström
d82669199b
fix(af-magic): add logic for virtualenv separator ( #12875 )
2024-12-30 10:15:05 +01:00
Paul and paul
ba1732833b
feat(jonathan): add virtualenv support ( #12705 )
...
Co-authored-by: paul <paul@MAINPC>
2024-10-08 21:45:12 +02:00
Marc Cornellà
9114853500
fix(aussiegeek): quote color sequences
2024-09-24 18:18:17 +02:00
rakeshgm
d91944d47e
feat(gnzh): add virtualenv prompt ( #12666 )
2024-09-18 20:42:18 +02:00
Marc Cornellà
ab3d42a34c
Revert "fix(awesomepanda): new line wrap" ( #12651 )
...
This reverts commit 80c114cb3a .
2024-09-03 23:35:22 +02:00
Teddy Masters and elfisworking
be10a91277
feat(bira): add conda env information (requires conda-env plugin) ( #12546 )
...
Closes #10274
Closes #12546
Co-authored-by: elfisworking <zymustb@126.com >
Signed-off-by: elfisworking <zymustb@126.com >
2024-07-15 19:17:05 +02:00
Marc Khouri and Marc Cornellà
fa583cfb87
refactor(pygmalion): simplify theme logic and prompt sequences ( #12550 )
...
* Simplify Pygmalion Theme
The Pygmalion theme previously had some logic for counting line length and taking action based on line length. The action was removed in c52441b624 , but the counting still needlessly happens.
This commit removes the code to count line length, and simplifies the Pygmalion theme by moving the "precmd" into the setup.
As a bonus unintended side effect, this makes the Pygmalion theme compatible with the current async prompting logic (i.e. after this change, Pygmalion is no longer affected by https://github.com/ohmyzsh/ohmyzsh/issues/12328 )
* refactor(pygmalion): redo and simplify prompt sequences
With this commit we put the minimal needed color resets, i.e. only
when we don't control the previous text we need to do a full reset.
Otherwise we can just use %F{} to change only the foreground color.
Co-authored-by: Marc Cornellà <marc@mcornella.com >
2024-07-12 18:18:20 +02:00
Sébastien MB
373a1fd585
fix(essembeh): use async prompt ( #12512 )
2024-06-17 21:38:21 +02:00
Carlo Sala
c77a01dbe2
Revert "feat(agnoster): add anaconda env information ( #12434 )"
...
This reverts commit 309129f651 .
2024-05-22 09:15:11 +02:00
robinverduijn
bbfb985359
chore(agnoster): typo ( #12437 )
2024-05-22 07:39:12 +02:00
Daniel Ochoja
309129f651
feat(agnoster): add anaconda env information ( #12434 )
2024-05-21 20:36:07 +02:00
Fritz Reichwald
fb91ca27a2
feat(amuse): add whitespace before virtualenv ( #12423 )
2024-05-15 19:27:21 +02:00
John Matczak
ee69c14beb
feat(fishy): add color to username ( #12369 )
2024-04-23 10:54:00 +02:00
Marc Cornellà
7ef3f49f97
fix(agnoster): prevent accidental alias use
2024-04-16 20:04:25 +02:00
vladislav doster
1d09c6bb0a
style: remove trailing whitespace ( #12303 )
2024-03-26 09:55:16 +01:00
SgtDaJim
bdcb4d9d1f
feat(bira): add support for kube-ps1 prompt ( #8437 )
2024-02-12 09:43:52 +01:00
Eemil Lagerspetz and Carlo Sala
80c114cb3a
fix(awesomepanda): new line wrap
...
Closes #5982
Co-authored-by: Carlo Sala <carlosalag@protonmail.com >
2024-01-25 10:23:38 +01:00
ChaosInventor
5ea2c68be8
fix(rkj-repos): check if ~/.hgrc exists ( #12148 )
2024-01-08 11:02:20 +01:00
Yuxuan Lu
e11d813037
fix(robbyrussell): line wrapping for some systems ( #12058 )
2023-11-24 09:45:32 +01:00
Robby Russell
f7130bb529
fix(gnzh): Don't show .local for local hostnames in theme
...
Fixes #10871
2023-10-13 15:38:13 -07:00
Steve Lessard Jr and Steve Lessard
2db53ff1da
fix(avit): RPROMPT Fix for #10307 ( #11131 )
...
Co-authored-by: Steve Lessard <slessardjr@users.noreply.github.com >
2023-10-13 15:26:16 -07:00
Felipe Gallois
38ef5192cb
feat(oldgalois): add theme ( #11880 )
...
Closes #11879
2023-09-11 11:05:50 +02:00
AJ Jordan
cd18bce53e
feat(mortalscumbag): show toolbox info ( #11884 )
2023-09-11 09:31:53 +02:00
Felipe Gallois
76e541a3fe
feat(gallois): big rewrite to gallois theme ( #11867 )
2023-09-06 11:18:36 +02:00
jabunovoty and Jakub Novotny
4188b22aea
feat(agnoster): add git tag to prompt ( #8417 )
...
Co-authored-by: Jakub Novotny <jakub.novotny@deutsche-boerse.com >
2023-07-25 10:31:24 +02:00
naturedamends
e564793939
feat(fino-time): add conda environment ( #11785 )
2023-07-25 10:25:07 +02:00
Zou Yang
b9354c5e9c
fix(michelebologna): use blue instead of white ( #11810 )
2023-07-23 19:44:30 +02:00
rogarb
ec369bb38e
fix(bureau): properly display git stash info ( #11711 )
2023-05-24 14:32:26 +02:00
Felipe Francisco
1bbe4d8d24
feat(half-life): add virtualenv prompt ( #11708 )
2023-05-23 08:46:46 +02:00