1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-30 08:11:58 +00:00
Commit graph

785 commits

Author SHA1 Message Date
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
GitHubLeakedPAN, GitHubLeakedMyautsai
4e0f19cf92
feat(ys): show svn repository information (#10582) 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
WeZZard
971683762e
fix(avit): disable log.showSignatures in _git_time_since_commit (#10072) 2022-01-10 18:38:35 +01:00
Marc Cornellà
d3bb52d7d8
style: declare globals properly
By default, `typeset` defines variables locally unless in the main scope.
This is specially bad when using `omz plugin load`, which happens inside
a function, so the declared variables don't continue being defined when
the function finishes and the main scope reappears.
2022-01-05 09:23:54 +01:00
Marc Cornellà
8e973d42bd
fix(bureau): fix status variable name causing error (#10561)
Also cleaned up the code a bit

Fixes #10561
2022-01-03 17:05:48 +01:00
Marc Cornellà
a9d57eb2ee
fix: quote % in box_name prompt functions 2022-01-03 13:50:52 +01:00
Marc Cornellà
43be5ea321
fix(bureau): quote % in git prompt function and remove global variables 2022-01-03 13:50:52 +01:00
Marc Cornellà
4e777ef9d6
fix(trapd00r): fix potential command injection in zsh_path 2022-01-03 13:50:52 +01:00
Marc Cornellà
9836aebe67
fix(agnoster): quote % in prompt functions 2022-01-03 13:50:52 +01:00
Marc Cornellà
634296be3c
fix(random): fix negated logic in ZSH_THEME_RANDOM_QUIET 2021-12-28 11:04:13 +01:00
Marc Cornellà
96e473a1d6
fix(random): fix ZSH_THEME_RANDOM_QUIET check (#10534)
BREAKING CHANGE: For consistency, `ZSH_THEME_RANDOM_QUIET` now needs to
be `true` if you want to silence the "Random theme loaded" message in the
`random` theme.

The wiki specified that 1 or true was valid, while the code just
checked whether it was set to any value. Being more strict makes
sure that we're consistent with the rest of the Settings.

Fixes #10534
2021-12-26 19:27:31 +01:00
rutriff
a1ec96d125
fix(af-magic): add space before git and hg information (#9396)
Closes #9396
2021-12-21 16:48:19 +01:00
Marc Cornellà
41c15a2159
fix(jonathan): fix top bar alignment with RPROMPT 2021-12-16 10:51:25 +01:00
Marc Cornellà
7d03ea18ed
fix: declare variables as global when using typeset
Fixes fb86ec77
2021-12-16 10:16:53 +01:00
Marc Cornellà
fb86ec7749
style: use typeset for dynamic variable names 2021-12-14 13:09:02 +01:00
deimosian
f42aa49cfd
fix(ys): use default color instead of gray for improved readability (#10506) 2021-12-13 22:52:32 +01:00
Marc Cornellà
e3bb6e685d
refactor(themes): use ruby_prompt_info everywhere 2021-12-13 17:14:25 +01:00
Marc Cornellà
aa99472c8a
style(simonoff): fix code style and optimize use of variables 2021-12-13 17:08:53 +01:00
Marc Cornellà
134c1ada28
fix(jonathan): fix theme for non-UTF8 locales 2021-12-13 17:08:52 +01:00
Marc Cornellà
065e8ebdd0
style(jonathan): fix code style in jonathan theme 2021-12-13 17:08:52 +01:00
Marc Cornellà
1b01496c21
fix(bira): fix color bleed in user_host prompt section (#10505)
Fixes #10505
2021-12-13 14:42:57 +01:00