1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 14:20:08 +00:00
Commit graph

810 commits

Author SHA1 Message Date
Stephen Gelman
b7920c7433 Fix missed AGNOSTER_STATUS_ROOT_FG instance 2024-06-13 19:56:10 -05:00
Stephen Gelman
97a28fcaf7 Add bzr and aws profile theme support 2024-06-13 19:56:10 -05:00
Stephen Gelman
fbccfe80fd Make the agnoster git branch status added in #7209 optional 2024-06-13 19:56:10 -05:00
Stephen Gelman
51d999651d Fix agnoster theming to work with the solarized theme changes 2024-06-13 19:56:10 -05:00
Kilobyte22
3c307e8479 Fixed an artifact from merge and some bugs in agnoster theme
For some reason i forgot to save the file in my editor, leading to the code not working. Luckily i looked through the changed files on github again and i found this. This is what happens if you don't care to actually test your code for once
Due to some more lack of testing i totall missed that my earlier fix did not work. This is now really fixed. (i should not write code when tired.)
2024-06-13 19:22:22 -05:00
Kilobyte22
61af29b967 Agnoster theme now properly handles bare git repos
Up until now the agnoster theme with enabled inline git branch display did not work properly for bare repos.
This was caused by `git rev-parse --show-toplevel` returning empty string for bare repos. In that case it now uses the git directory as root.
Your bare repo should be displayed properly (although you usually won't really navigate through a bare git repo, this is nice to have.
2024-06-13 19:21:53 -05:00
Kilobyte22
1ff9752c26 Fixed git background not showing correctly 2024-06-13 19:21:53 -05:00
Kilobyte
f2eb7138bc Fixed a few colors that were incorrectly set 2024-06-13 19:21:53 -05:00
Kilobyte22
461a18abf6 Changed Agnoster theme for more modularity
The agnoster theme now supports:

* Setting color for all kinds of elements, by setting an appropiate config variable to the color name in your zshrc
  Example: AGNOSTER_GIT_DIRTY_BG=red # Set the git prompt background color to red for dirty repos
* Allowing to separate the git root and the relative path in your prompt by setting AGNOSTER_GIT_INLINE to 'true'
  You will then have a segment for the git root (ie. ~/.oh-my-zsh) followed by the existing git branch segment (ie. master) and
  finally the relative directory path (ie. themes)
* By setting AGNOSTER_STATUS_RETVAL_NUMERIC to 'true', The return value in the status prompt will become a number instead of a cross.
2024-06-13 19:21:39 -05: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