Commit graph

403 commits

Author SHA1 Message Date
Elad Leev 576ec376d5 feat(kubectl): add cache to kubectl 2024-07-27 12:12:36 +02:00
Jan De Dobbeleer 7a6478269c feat(git): mapped branches
resolves #4979
2024-07-27 11:25:12 +02:00
Jan De Dobbeleer 1c908a8ce6 fix(git): resolve bare repo pointer 2024-07-26 15:52:24 +02:00
Jan De Dobbeleer 3fddcac9bf fix(git): more robust worktree identification
resolves #5343
2024-07-26 15:52:24 +02:00
Jan De Dobbeleer 7081cac3a2 feat(git): enable posh-git from the git segment config
BREAKING CHANGE: To use the posh-git module output, you must now set the
`source` property to `pwsh` in the git segment configuration.

In case you are using the default configuration,
you don't need to change anything.
2024-07-26 08:11:57 +02:00
Jan De Dobbeleer 1a7f2d2d10 feat(init): add --debug flag 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer f9d2f6040e feat(cygwin): better detection 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 4a1aa2a7b4 refactor(init): enable features automatically 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer c1f99f8e6b fix: disable hyperlink functionality for unsupported shells 2024-07-25 21:03:10 +02:00
Adi Vaknin 79c859d434 feat(spotify): add segment cache on macOS 2024-07-25 20:39:38 +02:00
Felipe Zorzo 8759171096 feat(maven): add segment 2024-07-25 17:32:53 +02:00
Jan De Dobbeleer fb9d447c87 feat(az): add tenant name 2024-07-11 21:25:16 +02:00
Jan De Dobbeleer 3d0c85b211 feat(git): follow symlinks for git dir 2024-07-09 09:23:03 +02:00
Jan De Dobbeleer 822e2b5b48 refactor: merge net and http under runtime module 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 05251e1ac3 refactor(platform): rename to runtime 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 9f2c6d1df5 fix(path): force linux style path for .Location
resolves #5125
2024-06-20 12:27:25 +02:00
Jan De Dobbeleer b6f5999e21 feat(path): allow displaying the cygwin style path
resolves #5074
2024-06-20 12:27:25 +02:00
Michael Schwobe 9b62e69348 feat(node): add Yarn segment and fix PNPM docs 2024-06-19 17:34:51 +02:00
Jan De Dobbeleer 33ac83551e feat(path): enable templates for max_width
resolves #5097
2024-06-17 15:59:29 +02:00
Michael Schwobe 6554dbf9d4 feat(node): add PNPM segment and update Node context 2024-06-17 08:41:33 +02:00
Nathaniel D. Hoffman 1098aa92f8
feat(os): add default symbol for EndeavourOS 2024-06-15 06:36:20 +00:00
Jan De Dobbeleer 821e45e968 feat(template): add .AbsolutePWD 2024-06-13 15:03:51 +02:00
Aaron Powell 59ebe57b19 feat(azd): add Azure Developer CLI segment
resolves #4702
2024-06-12 12:21:48 +02:00
Jan De Dobbeleer fbc21b8c97 fix(git): set .Ref correctly on detached HEAD
resolves #5035
2024-06-10 16:25:36 +02:00
Joxtacy 27b193b8c5 feat(segment): add bun 2024-06-10 11:33:44 +02:00
Jan De Dobbeleer 523cd98e1a feat(os): allow overriding distro name
resolves #5011
2024-06-06 14:47:12 +02:00
Lucas Costi acc884ccbd chore: update node LTS versions 2024-06-04 11:11:03 +02:00
Arjan Schrijver d20bf0f881 feat(git): add icon for Codeberg upstream 2024-06-03 14:00:22 +02:00
Matthew Miller 041c5d4d2d fix: owm allow location city name with spaces
- Escape the location parameter of the owm segment to allow for city
  names with spaces to function correctly.
- Update the owm api url to use https.
2024-05-30 21:24:50 +02:00
LNKLEO 722073b52f feat(owm): only use location for api call
BREAKING CHANGE: location is now required instead of latitude
and longitude
2024-05-29 17:25:18 +02:00
Jeffrey Labonski 11606ead7a feat(helm): add helmfile support 2024-05-23 18:12:56 +02:00
Ernesto Casablanca 5dee9d74a6 fix: correct links for versions higher than 6 2024-05-20 16:20:01 +02:00
Jan De Dobbeleer e7a10ac029 feat(iterm): add iTerm features to the root configuration
BREAKING CHANGE: The iTerm segment has been removed and its features
have been added to the root configuration. To re-enable the iTerm
features, remove the iTerm segment and add the following to your
oh-my-posh configuration:

```json
{
  "iterm_features": ["prompt_mark", "current_dir", "remote_host"]
}
```

Choose this option if you want to enable the prompt mark for shell
integration and/or enable current directory and remote host in the
iTerm status bar.
2024-05-19 14:13:01 +02:00
Jan De Dobbeleer 950c608939 feat(go): upgrade to 1.22.3 2024-05-19 08:44:07 +02:00
Jan De Dobbeleer 738048bc9f feat(python): add support for py launcher
resolves #4923
2024-05-13 08:41:21 +02:00
L. Yeung 0b5277e4a2 feat(os): add a default icon for deepin 2024-05-10 09:48:25 +02:00
Ivan f03c6cb00c
feat(segment): add talosctl 2024-05-04 07:56:15 +02:00
Jan De Dobbeleer b3ead100d2 feat(iterm): add extension support
resolves #4834
2024-04-30 16:33:55 +02:00
MarkDaveny 6698b71f10 chore: fix some typos in comments
Signed-off-by: MarkDaveny <peicuiping@aliyun.com>
2024-04-29 21:54:31 +02:00
Jan De Dobbeleer 5f095d61f2 fix(path): correct logic for agnoster style
relates to #4727
2024-04-25 08:33:53 +02:00
Jan De Dobbeleer 92031bdf51 fix(path): construct currentpath correctly on Windows
relates to #4727
2024-04-22 10:46:48 +02:00
Jan De Dobbeleer 6c44459b6f feat(command): allow bypassing custom logic
resolves #4835
2024-04-20 09:40:48 +02:00
Justin Wolfington ce6cdb4def fix(pulumi): improve reliability of filepath hash calculation 2024-04-20 09:10:26 +02:00
Ivan 659a57f013
feat(nightscout): add headers property 2024-04-19 23:09:00 +02:00
Christian Becker 8ead4ce87e feat(svn): add repository name 2024-04-19 20:58:42 +02:00
Ivan a47070b9d8
fix(firebase): sub path validation 2024-04-19 14:50:40 +02:00
ivan-the-terrible 7fc2b70fb3 feat(segment): firebase segment 2024-04-18 14:51:00 +02:00
Jan De Dobbeleer c4e11fe48d feat(path): allow left and right formatting 2024-04-03 16:23:01 +02:00
Jan De Dobbeleer 6e1137512c feat(path): highlight git directory
resolves #4727
2024-03-30 15:37:28 +01:00
Jan De Dobbeleer ab5a9ed3a7 chore(lint): golangci-lint 1.57.0 compatibility 2024-03-23 19:21:57 +00:00
Jan De Dobbeleer cd232cd17e revert(git): remove trailing space from upstream icons
This reverts commit f277c191b1 as it was
not the correct change to make. The upstream icons are supposed to
have trailing spaces so they display correctly in the default template.

resolves #4784
2024-03-19 08:35:11 +01:00
Jan De Dobbeleer 6bbdfb9c45 feat(node): do not show on .npmrc 2024-03-18 20:07:25 +01:00
Joshua Reilly f277c191b1
fix(git): remove trailing space from upstream icons 2024-03-15 07:20:38 +01:00
Jan De Dobbeleer a7c60c36a5 fix(spotify): trim whitespace before processing 2024-03-14 14:51:36 +01:00
Luca Zecca 8791965f3f feat: add pulumi segment 2024-03-14 08:47:58 +01:00
Jan De Dobbeleer d05737a8e8 fix(spotify): parse correctly when in WSL 2024-03-14 08:34:55 +01:00
Jan De Dobbeleer f6a0bedf6e feat: pin to go 1.22 2024-03-12 10:15:57 +01:00
Jan De Dobbeleer b38df39fd2 refactor: remove duplicate toml library 2024-03-12 10:15:57 +01:00
Jan De Dobbeleer ae73c1dad5 fix(spotify): adjust incorrect erorr check 2024-03-05 12:58:05 +01:00
rocky@HP_OMEN 21df976c2f feat(python): make parent folder fallback optional 2024-03-05 12:58:05 +01:00
Lucas Costi 7368fe3672
fix: update node LTS version numbers 2024-02-19 08:04:38 +00:00
Jan De Dobbeleer bb5e1b1a2e fix(git): show original worktree as repo name 2024-02-07 08:17:48 +01:00
Jan De Dobbeleer 4fb18aaac7 fix(git): convert realdir when we have a worktree 2024-01-25 09:10:25 +01:00
srpmtt b8830a683a feat: react segment 2024-01-21 14:25:56 +01:00
Jan De Dobbeleer ed40fc7bf5 feat(language): cache version info 2024-01-21 14:06:49 +01:00
srpmtt 5786720f21
feat: ocaml segment 2024-01-15 19:48:03 +01:00
Jan De Dobbeleer 4cf65fddfb fix(git): set Detached on when fetch_status is false 2024-01-13 20:22:16 +01:00
Jan De Dobbeleer bff6353b28 fix(hyperlink): use built-in format to avoid collisions
resolves #4569
2024-01-01 20:58:18 +01:00
Jan De Dobbeleer 0c304f0806 fix(nba): adjust test to solve season offset on year end 2024-01-01 20:58:18 +01:00
Jan De Dobbeleer db32446a74 feat(node): match lts versions
resolves #4555
2023-12-19 08:24:19 +01:00
Jan De Dobbeleer 22a02f2dde fix(git): make .git optional on remotes
resolves #4524
2023-12-07 09:29:16 +01:00
Oleksandr Babieiev 9e470e5205 feat(project): add PEP 621 support for Python projects
BREAKING CHANGE: this replaces the `poetry` `.Type` value with `python`.
Segment templates matching the `poetry` type will need to be updated to
match the new `python` type.
2023-12-02 11:46:59 +01:00
Jan De Dobbeleer bcebcb55a2 feat(terraform): add all contextual files 2023-12-01 20:54:06 +01:00
Jan De Dobbeleer 74da88f99c feat(owm): add API key environment variable
resolves #4488
2023-11-29 11:15:05 +01:00
Jan De Dobbeleer 230f8f4973 feat(upgrade): expose current version number in segment 2023-11-29 11:15:05 +01:00
Jan De Dobbeleer c7c01286ac fix(session): support changing user
resolves #4442
2023-11-19 19:53:09 +01:00
Jan De Dobbeleer 54c5262a27 refactor: make true string constant 2023-11-09 17:40:26 +01:00
Jan De Dobbeleer 1298129b87 refactor: use the same string for API key properties 2023-11-09 17:40:26 +01:00
Snow cf3dc7c069 feat(segment): add lastfm 2023-11-09 17:40:26 +01:00
Tend 8b0854a424
feat(segment): add bazel 2023-11-09 09:31:48 +00:00
Paulo Morgado dbc8998749 fix(project): ignore dotnet target if not found 2023-11-04 10:49:04 +01:00
joadoumie cec96d8b94 feat: nba segment 2023-11-04 08:57:58 +01:00
Mateusz Bajorek 870ff86778 feat(git): add .LatestTag template property 2023-11-01 14:55:43 +01:00
Paulo Morgado 1b20c82440 feat: detect sln and sln files as project files 2023-11-01 12:04:37 +01:00
Alex Potter 5655bb4e6d feat: carbon intensity segment 2023-11-01 11:49:44 +01:00
Warren Buckley 0706a5b144 fix(umbraco): change made to keep checking through files found alongside umbraco folder
this is because we may have had a web.config file found (that is not for umbraco) before a *.csproj file is later found that does include umbraco installed
2023-10-30 15:40:20 +01:00
Sri Ramanujam 91fb561de7 feat(python): use parent directory as name when "venv" or ".venv" 2023-10-30 15:30:23 +01:00
Mateusz Bajorek 4b1fbb8860 fix(themes): yarn nerdfont 3.x icon codepoint 2023-10-30 14:15:48 +01:00
Warren Buckley 37ed322bb8 fix(umbraco): even older versions of umbraco in webconfig used a different appsetting key
now checks for umbracoconfigurationstatus and adds a new test case for it
2023-10-30 12:15:52 +01:00
Mateusz Bajorek 84f2c9a1eb
fix(themes): yarn icon for NerdFonts 3.x update
Co-authored-by: Mateusz Bajorek <mab@viabill.com>
2023-10-28 09:56:01 +02:00
Warren Buckley 30e4a591d7
feat(segment): umbraco segment to display modern or legacy version 2023-10-28 09:54:43 +02:00
Jan De Dobbeleer 46c6275630 fix(lint): make string repetitions constant 2023-10-24 10:53:23 +00:00
Jan De Dobbeleer 0cfe9a7423 fix(git): do not convert path when using native_fallback in WSL 2023-10-17 09:15:30 +02:00
BPplays dadbb28822 fix(os): add 'almalinux' to the icon map 2023-10-17 08:35:52 +02:00
nopeless fb5744985b fix(project): remove env folder for python 2023-10-14 09:04:05 +02:00
Jan De Dobbeleer 82be7a507a fix(git): initialize status prior to bare repo check
resolves #4330
2023-10-12 18:49:01 +02:00
Jan De Dobbeleer 5f5c0c0e9b fix(git): strip correct directory part when in worktree 2023-09-29 09:29:09 +02:00
Jan De Dobbeleer 31a51ff117 feat(git): support for remotes
currently a hidden feature
2023-09-23 22:33:39 +02:00
Jan De Dobbeleer 35c2588365 chore: fix function typo 2023-09-19 19:35:23 +02:00
Ernesto R. C. Pereda 43aca8e9ea
feat(helm): add segment 2023-09-04 21:00:04 +02:00