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>
2 years ago
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>
2 years ago
Sébastien MB
373a1fd585
fix(essembeh): use async prompt ( #12512 )
2 years ago
Carlo Sala
c77a01dbe2
Revert "feat(agnoster): add `anaconda` env information ( #12434 )"
...
This reverts commit 309129f651 .
2 years ago
robinverduijn
bbfb985359
chore(agnoster): typo ( #12437 )
2 years ago
Daniel Ochoja
309129f651
feat(agnoster): add `anaconda` env information ( #12434 )
2 years ago
Fritz Reichwald
fb91ca27a2
feat(amuse): add whitespace before virtualenv ( #12423 )
2 years ago
John Matczak
ee69c14beb
feat(fishy): add color to username ( #12369 )
2 years ago
Marc Cornellà
7ef3f49f97
fix(agnoster): prevent accidental alias use
2 years ago
vladislav doster
1d09c6bb0a
style: remove trailing whitespace ( #12303 )
2 years ago
SgtDaJim
bdcb4d9d1f
feat(bira): add support for `kube-ps1` prompt ( #8437 )
2 years ago
Eemil Lagerspetz
80c114cb3a
fix(awesomepanda): new line wrap
...
Closes #5982
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2 years ago
ChaosInventor
5ea2c68be8
fix(rkj-repos): check if `~/.hgrc` exists ( #12148 )
2 years ago
Yuxuan Lu
e11d813037
fix(robbyrussell): line wrapping for some systems ( #12058 )
3 years ago
Robby Russell
f7130bb529
fix(gnzh): Don't show .local for local hostnames in theme
...
Fixes #10871
3 years ago
Steve Lessard Jr
2db53ff1da
fix(avit): RPROMPT Fix for #10307 ( #11131 )
...
Co-authored-by: Steve Lessard <slessardjr@users.noreply.github.com>
3 years ago
Felipe Gallois
38ef5192cb
feat(oldgalois): add theme ( #11880 )
...
Closes #11879
3 years ago
AJ Jordan
cd18bce53e
feat(mortalscumbag): show toolbox info ( #11884 )
3 years ago
Felipe Gallois
76e541a3fe
feat(gallois): big rewrite to `gallois` theme ( #11867 )
3 years ago
jabunovoty
4188b22aea
feat(agnoster): add git tag to prompt ( #8417 )
...
Co-authored-by: Jakub Novotny <jakub.novotny@deutsche-boerse.com>
3 years ago
naturedamends
e564793939
feat(fino-time): add conda environment ( #11785 )
3 years ago
Zou Yang
b9354c5e9c
fix(michelebologna): use blue instead of white ( #11810 )
3 years ago
rogarb
ec369bb38e
fix(bureau): properly display git stash info ( #11711 )
3 years ago
Felipe Francisco
1bbe4d8d24
feat(half-life): add virtualenv prompt ( #11708 )
3 years ago
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.
3 years ago
roodkcab
aab3bfff9f
fix(robbyrussell) multiline command editing ( #11681 )
...
Co-authored-by: chenshuoshi <chenshuoshi@inagora.cn>
Closes #11680
3 years ago
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 .
3 years ago
Carlo Sala
693e3dcc44
fix(apple): replace deprecated nerdfonts icon
3 years ago
WaferJay
b54ef89fab
fix(af-magic): fix logic for separator with virtualenv ( #11518 )
3 years ago
shelfofclub
69b5737daf
fix(af-magic): fix python venv checking logic ( #11495 )
3 years ago
Samyak Sarnayak
041c35ffc8
feat(amuse): add virtualenv support ( #8987 )
...
Fixes #7766
Closes #8814
3 years ago
Bartek Pacia
7de55844b2
feat(mlh): add separate prompt symbol for root user ( #11451 )
3 years ago
Dan Wallis
c189e8b40c
feat(agnoster): add remote-tracking status to prompt ( #7209 )
4 years ago
Mathieu Fenniak
da7ea13ba9
fix(avit): replace deprecated GREP_COLOR ( #11168 )
4 years ago
Frieder Bluemle
9f2bbebdf7
docs: fix some capitalization typos( #11293 )
4 years ago
Anubhav Sharma
249c708ed3
fix(frontcube): fix escape of reset color sequence ( #10921 )
4 years ago
PierreD
fcceeb6664
fix(frisk): fix color typo in `PS2` ( #10839 )
4 years ago
Marc Cornellà
46195d3aa7
fix: fix svn branch output in themes: apple, gentoo, kolo, zhann ( #10751 )
...
Fixes #10751
4 years ago
Marc Cornellà
04b1b75b9d
style: remove VCS_INFO svn settings from themes that don't enable it
4 years ago
Marc Cornellà
28dc8c58ef
refactor(michelebologna): simplify and clean up code
4 years ago
Carlo Sala
201e9dea59
fix(michelebologna): use `$HOST` variable instead of running `hostname` ( #10724 )
4 years ago
Marc Cornellà
7b708519b9
fix(emotty): show error on missing plugin dependencies ( #9811 )
4 years ago
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.
4 years ago
Marc Cornellà
74a3db75e4
perf(bureau): remove multiple grep calls in git status check
4 years ago
Harris Miller
9e9831fcf2
fix(bureau): fix never `CLEAN` git status ( #10656 )
...
Closes #10656
4 years ago
Lukas
b5edb51ee4
style(rkj-repos): change `white` to `default` to support light color schemes ( #6195 )
...
Co-authored-by: Matthias Doering <matthias.doering@teamix.de>
4 years ago
Kuri Schlarb
303ae79712
fix(ys): fix `$VIRTUAL_ENV` check if `nounset` is enabled ( #9915 )
4 years ago
Mathias Neerup
d4f5fa37e8
feat(simple): add color to git status indicator ( #4962 )
...
Closes #4962
4 years ago
GitHubLeakedPAN, GitHubLeakedMyautsai
4e0f19cf92
feat(ys): show `svn` repository information ( #10582 )
4 years ago
Marc Cornellà
9c84c344d7
fix: disable `log.showSignature` in `git log` calls
4 years ago