Commit graph

271 commits

Author SHA1 Message Date
lnu 06e5a24a0b chore(schema): languages segment updated with enable_hyperlink
enable_hyperlink added to segments that support it.
java segment title fixe.
2021-10-17 08:51:55 +02:00
Jan De Dobbeleer 0e26aa2ace feat: inherit colors between segments 2021-09-24 19:41:11 +02:00
lnu ba71a4a16d fix: cache_timeout mismatch + variable naming + schema.json 2021-09-24 07:32:57 +02:00
lnu 6097d2d357 feat(owm): response caching added
default timeout of 10 minutes. A value of 0 disables the cache.
Original concept by boarder2
2021-09-24 07:32:57 +02:00
Jan De Dobbeleer 2ed5d31f4f
feat(az): use template for more flexibility
BREAKING CHANGE: this makes it so people have to remove the switches
in favor of the new template.
2021-09-18 13:21:28 +02:00
Aaron Sherber f412ef6644
feat: allow for custom text in place of shell names 2021-09-17 19:48:00 +00:00
lnu cb9a090ec7 feat(battery): display_charged parameter added
display_charging splitted to two parameters instead of a single one

BREAKING CHANGE: from now display_charging will handle the charging
                 status only.
2021-09-16 20:17:41 +02:00
Jan0660 ffad394a4f feat(memory): add use_available and memory_type 2021-09-04 23:23:38 +02:00
Laurent Nullens bb246377ce
feat(git): display worktree count
resolves #913
2021-09-04 18:32:55 +00:00
Jan0660 daf91dc85a feat: memory segment 2021-09-03 22:49:56 +02:00
Sebastian Mineur 2b53796c1a
feat(path): add 'max_depth' option for 'agnoster_short' 2021-08-20 15:06:37 +00:00
Laurent Nullens 2470abcc86
docs: owm units enum added to schema.json
Co-authored-by: Jan De Dobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com>
2021-08-20 15:00:35 +00:00
lnu e618163da3 feat(owm): support all units + hyperlink + http timeout
new http_timeout param for segments executing http request
doc updated
json schema updated(missing data for owm + timeout)
hyperlink replacement regex updated to support http/https, fix an inssue
when a segment with hyperlink was on the right prompt(pwsh)
2021-08-19 09:04:52 +02:00
Nico Glas 4f08d660b9
feat(segment): open weather map 2021-08-15 19:11:02 +00:00
Laurent Nullens f83fb24087 chore: add branch_max_length to schema 2021-08-03 08:20:48 +02:00
Timothy Wittig 12dfdb3708
chore: add no_commits_icon to schema
Co-authored-by: Jan De Dobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com>
2021-08-02 20:07:37 +02:00
Chris Donnelly 6dbaa52481 chore: add revert_icon to schema 2021-07-30 16:04:50 +02:00
Jan De Dobbeleer 1f4d05415c feat(path): letter full path
resolves #851
2021-07-13 20:18:03 +02:00
Tobias Hölzer c358d4fc4c
feat: rust segment 2021-07-04 22:53:10 +02:00
Jan De Dobbeleer 3fd70ce716 refactor: remove vertical_offset for transient prompt
relates to #807
2021-06-23 22:40:00 +02:00
Jan De Dobbeleer 7c72e76aff feat(pwsh): transient prompt 2021-06-22 08:42:35 +02:00
Jan De Dobbeleer 97a9916be0 chore(tooltips): update json schema 2021-06-13 19:46:02 +02:00
Jan De Dobbeleer f6a675e8c4 fix(schema): remove invalid character 2021-06-09 07:19:04 +02:00
Jan De Dobbeleer d7e1d5de72 chore: update json schema for mapped_locations
closes #776
2021-06-08 08:34:28 +02:00
Jan De Dobbeleer b21670f35b fix: consistent naming for Oh My Posh
relates to https://github.com/microsoft/winget-pkgs/pull/16328
2021-06-06 13:42:33 +02:00
Jan De Dobbeleer ae2042abcb fix: add round style to schema 2021-05-21 20:33:11 +02:00
Micah Rairdon 36feb76f20 feat: azure devops support for git upstream icons 2021-05-15 17:41:15 +02:00
Jan De Dobbeleer 4030c32279 feat: add dart support 2021-05-14 21:28:16 +02:00
Jan De Dobbeleer 8f473df62f feat: support crystal language 2021-05-14 13:45:38 +02:00
Ben Allred 608b486f8b
docs: fix incorrect git segment icon info 2021-04-24 19:47:54 +02:00
Jan De Dobbeleer c24ca82f17 feat: newline as part of block
this deprecates the "newline" block and favours using the newline
property on the Block component. For backwards compatibility we'll
keep recognizing the newline block for the time being.

resolves #607
2021-04-21 19:54:43 +02:00
Jan De Dobbeleer 7ad764ceee fix(ytdm): default to localhost IP
resolves #639
2021-04-20 21:37:09 +02:00
Jan De Dobbeleer 52f260caf6 feat(node): show NPM/Yarn context
resolves #653
2021-04-17 14:51:20 +02:00
Jan De Dobbeleer 66dd9815a2 chore: add template to battery schema 2021-04-16 07:54:05 +02:00
lnu b9601b632a feat: show/hide stack count in path segment 2021-04-12 22:25:01 +02:00
Jan De Dobbeleer 5bf3c3b2c7 fix: add missing azfunc segment to schema 2021-04-11 20:16:04 +02:00
Jan De Dobbeleer 320ec1d7d3 feat(pwsh): posh-git segment 2021-03-27 17:52:53 +01:00
Jan De Dobbeleer 4f1310b9d7 fix: correct json schema 2021-03-21 19:30:56 +01:00
Jan De Dobbeleer c185ebd09c feat(java): add segment 2021-03-18 17:14:40 +01:00
lnu fcf1cc30bf feat: template for time segment
example with time

schema updated
2021-03-17 08:14:58 +01:00
Jan De Dobbeleer e6247da593 feat: set terminal background color
relates to #529
relates to #322
relates to #497

Windors terminal and Visual Studio Code do not work well with inversted
ANSI sequences. This weak allows users to override the Tranparency to
the terminal background color removing black elements in their prompt.

Ideally we remove this once they are on par with other terminals, but
that could take a while.

See https://github.com/microsoft/vscode/issues/111762
and https://github.com/microsoft/terminal/issues/7014
2021-03-14 14:25:27 +01:00
TravisTX 7d785df08a feat: include folders 2021-02-28 21:05:11 +01:00
Laurent Nullens dd6efd618d fix: missing mixed in path style enum
missing mixed in path style enum.
2021-02-28 09:35:01 +01:00
Jan De Dobbeleer be1ec7bea3 feat(os): show/hide distro name
resolves #443
2021-02-26 06:57:34 +01:00
Brian Surowiec 1a907f3c48 chore: add color format to schema 2021-02-22 08:51:58 +01:00
Jan De Dobbeleer 2ab7ff94d7 feat(git): branch status switch
resolves #438
2021-02-19 19:40:13 +01:00
Jan De Dobbeleer 87af930b75 fix: switch for OSC99 2021-02-15 23:23:44 +01:00
Jan De Dobbeleer 4750d19d86 chore: add color templates to schema 2021-02-15 13:36:42 +01:00
TravisTX acfda5c9ca feat: add display_error to kubectl 2021-02-12 22:14:58 +01:00
Jan De Dobbeleer 616cc3a685 docs: aws segment 2021-02-12 12:59:07 +01:00
Jan De Dobbeleer 7e813893ed feat: support for ruby 2021-02-04 17:05:46 +01:00
Jan De Dobbeleer 47fc0088d1 fix: add all display_mode values 2021-01-15 19:28:46 +01:00
Jan De Dobbeleer 890f9cde1b refactor(language): remap context to files 2021-01-15 19:24:58 +01:00
Laurent Nullens f0558bbb8c chore: fix type in schema.json for enable_hyperlink
string was set instead of boolean
2021-01-13 07:04:36 +01:00
lnu 866c44e42d feat: add hyperlink rendering
An hyperlink can be added using markdown syntax and will be detected by the engine.
Initial implementation for path segments.
2021-01-12 21:37:41 +01:00
lnu abfbb27765 fix: don't check language version in Enabled()
fix: align dotnet segment with other languages
feat: missing command text + json schema updated
chore: doc updated
perf: cache executable path
chore: not supported version icon updated(previus one was unreadable)
2020-12-31 16:59:13 +01:00
TravisTX 7e7483501c fix: mapped_locations schema definition 2020-12-31 13:22:16 +01:00
Jan De Dobbeleer 9e7d901fb6 feat: set console title with template 2020-12-27 18:23:40 +01:00
Moritz Meier 5e6ade76d5 feat: added display_mode property to language segment 2020-12-23 10:02:20 +01:00
TravisTX 85b1fc2662 feat: powershell rprompt support 2020-12-19 19:21:29 +01:00
Jan De Dobbeleer 3ca2cb5ef3 feat: zsh rprompt compatibility 2020-12-18 19:36:31 +01:00
Jan De Dobbeleer adb205fe66 feat: agnoster short path style
resolves #241
2020-12-17 12:15:01 +01:00
Jan De Dobbeleer d5b41b37b2 feat: add always enabled to execution time 2020-12-12 13:45:04 +01:00
TravisTX b74516c8e2 feat: execution time formats 2020-12-11 17:57:35 +01:00
TravisTX 5f7b1f6ac6 feat: execution time segment 2020-12-08 09:05:22 +01:00
lnu c33827815d feat: option to hide the battery status when it's charging 2020-12-04 18:35:20 +01:00
Jan De Dobbeleer 5b275cc155 feat: allow hiding of default user
resolves #208
2020-12-02 19:14:11 +01:00
Jan De Dobbeleer 09255ae63d fix: use full block for spaces only with a background
This reverts commit 7d3629c7d4.
This resolves #212
2020-12-02 18:46:36 +01:00
Jan De Dobbeleer 7d3629c7d4 fix: use full block for spaces 2020-12-02 09:26:07 +01:00
Kyle Crowley 870af53d35 feat: youtube music desktop app integration
resolves #170
2020-12-01 20:49:51 +01:00
Jan De Dobbeleer 130100da29 feat: theme json schema
resolves #158
2020-11-28 19:29:44 +01:00