1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-26 02:08:37 +08:00
Commit Graph

806 Commits

Author SHA1 Message Date
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
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
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
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
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
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
rogarb
444e715766
feat(bureau): ignore hidden git repos (#11707)
The git_prompt_info() function in lib/git.zsh ignores git repos which
contains a specific config key, allowing to effectively "hide" them from
the prompt. Unfortunately, the bureau theme doesn't use the library
function to build its prompt.

This commit modifies the specific prompt generation function in the
bureau theme in order to achieve the same behaviour.
2023-05-22 12:49:10 +02:00
roodkcab
aab3bfff9f
fix(robbyrussell) multiline command editing (#11681)
Co-authored-by: chenshuoshi <chenshuoshi@inagora.cn>

Closes #11680
2023-05-09 12:27:22 +02:00
Carlo Sala
85fdbfe216
fix(apple): go back to previous icon
Turns out that <U+F8FF> is a reserved unicode code that is Apple logo in
Apple systems.
Nerd fonts was overwritting that code to other stuff in v2 and that's
why I thought it needed to be replaced.

Closes #11665

This reverts commit 693e3dcc44.
2023-05-03 11:19:41 +02:00
Carlo Sala
693e3dcc44
fix(apple): replace deprecated nerdfonts icon 2023-05-02 10:03:24 +02:00
WaferJay
b54ef89fab
fix(af-magic): fix logic for separator with virtualenv (#11518) 2023-02-23 22:32:40 +01:00
shelfofclub
69b5737daf
fix(af-magic): fix python venv checking logic (#11495) 2023-02-14 13:44:23 +01:00
Samyak Sarnayak
041c35ffc8
feat(amuse): add virtualenv support (#8987)
Fixes #7766
Closes #8814
2023-02-09 12:27:41 +01:00
Bartek Pacia
7de55844b2
feat(mlh): add separate prompt symbol for root user (#11451) 2023-01-23 19:40:42 +01:00
Dan Wallis
c189e8b40c
feat(agnoster): add remote-tracking status to prompt (#7209) 2022-12-09 19:10:04 +01:00
Mathieu Fenniak
da7ea13ba9
fix(avit): replace deprecated GREP_COLOR (#11168) 2022-11-23 18:56:26 +01:00
Frieder Bluemle
9f2bbebdf7
docs: fix some capitalization typos(#11293) 2022-11-04 19:34:02 +01:00
Anubhav Sharma
249c708ed3
fix(frontcube): fix escape of reset color sequence (#10921) 2022-07-12 19:44:32 +02:00
PierreD
fcceeb6664
fix(frisk): fix color typo in PS2 (#10839) 2022-04-09 15:18:24 +02:00
Marc Cornellà
46195d3aa7
fix: fix svn branch output in themes: apple, gentoo, kolo, zhann (#10751)
Fixes #10751
2022-03-03 17:53:03 +01:00
Marc Cornellà
04b1b75b9d
style: remove VCS_INFO svn settings from themes that don't enable it 2022-03-03 17:49:12 +01:00
Marc Cornellà
28dc8c58ef
refactor(michelebologna): simplify and clean up code 2022-02-24 13:55:00 +01:00
Carlo Sala
201e9dea59
fix(michelebologna): use $HOST variable instead of running hostname (#10724) 2022-02-24 13:52:52 +01:00
Marc Cornellà
7b708519b9
fix(emotty): show error on missing plugin dependencies (#9811) 2022-02-10 18:25:09 +01:00
Marc Cornellà
1e26ad1187
fix(bureau): fix top line space computation
Takes into account $ZLE_RPROMPT_INDENT and doesn't add the extra
space at the end so it doesn't bleed into the next line.
2022-02-07 17:57:59 +01:00
Marc Cornellà
74a3db75e4
perf(bureau): remove multiple grep calls in git status check 2022-02-07 17:55:16 +01:00
Harris Miller
9e9831fcf2
fix(bureau): fix never CLEAN git status (#10656)
Closes #10656
2022-02-07 17:54:02 +01:00
Lukas
b5edb51ee4
style(rkj-repos): change white to default to support light color schemes (#6195)
Co-authored-by: Matthias Doering <matthias.doering@teamix.de>
2022-01-27 22:00:50 +01:00
Kuri Schlarb
303ae79712
fix(ys): fix $VIRTUAL_ENV check if nounset is enabled (#9915) 2022-01-27 21:48:42 +01:00
Mathias Neerup
d4f5fa37e8
feat(simple): add color to git status indicator (#4962)
Closes #4962
2022-01-24 11:47:30 +01:00