1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-20 19:31:58 +00:00
Commit graph

804 commits

Author SHA1 Message Date
Teddy Masters
be10a91277
feat(bira): add conda env information (requires conda-env plugin) ()
Closes 
Closes 

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 ()
* 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 () 2024-06-17 21:38:21 +02:00
Carlo Sala
c77a01dbe2
Revert "feat(agnoster): add anaconda env information ()"
This reverts commit 309129f651.
2024-05-22 09:15:11 +02:00
robinverduijn
bbfb985359
chore(agnoster): typo () 2024-05-22 07:39:12 +02:00
Daniel Ochoja
309129f651
feat(agnoster): add anaconda env information () 2024-05-21 20:36:07 +02:00
Fritz Reichwald
fb91ca27a2
feat(amuse): add whitespace before virtualenv () 2024-05-15 19:27:21 +02:00
John Matczak
ee69c14beb
feat(fishy): add color to username () 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 () 2024-03-26 09:55:16 +01:00
SgtDaJim
bdcb4d9d1f
feat(bira): add support for kube-ps1 prompt () 2024-02-12 09:43:52 +01:00
Eemil Lagerspetz
80c114cb3a
fix(awesomepanda): new line wrap
Closes 

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 () 2024-01-08 11:02:20 +01:00
Yuxuan Lu
e11d813037
fix(robbyrussell): line wrapping for some systems () 2023-11-24 09:45:32 +01:00
Robby Russell
f7130bb529
fix(gnzh): Don't show .local for local hostnames in theme
Fixes 
2023-10-13 15:38:13 -07:00
Steve Lessard Jr
2db53ff1da
fix(avit): RPROMPT Fix for ()
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 ()
Closes 
2023-09-11 11:05:50 +02:00
AJ Jordan
cd18bce53e
feat(mortalscumbag): show toolbox info () 2023-09-11 09:31:53 +02:00
Felipe Gallois
76e541a3fe
feat(gallois): big rewrite to gallois theme () 2023-09-06 11:18:36 +02:00
jabunovoty
4188b22aea
feat(agnoster): add git tag to prompt ()
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 () 2023-07-25 10:25:07 +02:00
Zou Yang
b9354c5e9c
fix(michelebologna): use blue instead of white () 2023-07-23 19:44:30 +02:00
rogarb
ec369bb38e
fix(bureau): properly display git stash info () 2023-05-24 14:32:26 +02:00
Felipe Francisco
1bbe4d8d24
feat(half-life): add virtualenv prompt () 2023-05-23 08:46:46 +02:00
rogarb
444e715766
feat(bureau): ignore hidden git repos ()
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 ()
Co-authored-by: chenshuoshi <chenshuoshi@inagora.cn>

Closes 
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 

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 () 2023-02-23 22:32:40 +01:00
shelfofclub
69b5737daf
fix(af-magic): fix python venv checking logic () 2023-02-14 13:44:23 +01:00
Samyak Sarnayak
041c35ffc8
feat(amuse): add virtualenv support ()
Fixes 
Closes 
2023-02-09 12:27:41 +01:00
Bartek Pacia
7de55844b2
feat(mlh): add separate prompt symbol for root user () 2023-01-23 19:40:42 +01:00
Dan Wallis
c189e8b40c
feat(agnoster): add remote-tracking status to prompt () 2022-12-09 19:10:04 +01:00
Mathieu Fenniak
da7ea13ba9
fix(avit): replace deprecated GREP_COLOR () 2022-11-23 18:56:26 +01:00
Frieder Bluemle
9f2bbebdf7
docs: fix some capitalization typos() 2022-11-04 19:34:02 +01:00
Anubhav Sharma
249c708ed3
fix(frontcube): fix escape of reset color sequence () 2022-07-12 19:44:32 +02:00
PierreD
fcceeb6664
fix(frisk): fix color typo in PS2 () 2022-04-09 15:18:24 +02:00
Marc Cornellà
46195d3aa7
fix: fix svn branch output in themes: apple, gentoo, kolo, zhann ()
Fixes 
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 () 2022-02-24 13:52:52 +01:00
Marc Cornellà
7b708519b9
fix(emotty): show error on missing plugin dependencies () 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 ()
Closes 
2022-02-07 17:54:02 +01:00
Lukas
b5edb51ee4
style(rkj-repos): change white to default to support light color schemes ()
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 () 2022-01-27 21:48:42 +01:00
Mathias Neerup
d4f5fa37e8
feat(simple): add color to git status indicator ()
Closes 
2022-01-24 11:47:30 +01:00
GitHubLeakedPAN, GitHubLeakedMyautsai
4e0f19cf92
feat(ys): show svn repository information () 2022-01-22 21:56:36 +01:00
Marc Cornellà
9c84c344d7
fix: disable log.showSignature in git log calls 2022-01-10 19:39:05 +01:00