Commit graph

349 commits

Author SHA1 Message Date
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
Jan De Dobbeleer 8f8dd04ac7 fix(git): correctly identify conflicted files 2023-09-04 17:06:20 +02:00
Jan De Dobbeleer 3d53650b22 refactor(git): add booleans to identify state 2023-09-04 17:06:20 +02:00
Jan De Dobbeleer 566a9d1471 fix(project): return nil when no files found for pwsh 2023-09-02 09:15:27 +02:00
Jan De Dobbeleer d3272faedd fix(kraken): only use first root commit 2023-09-02 09:15:27 +02:00
kema dba8b2f7ad
feat(git): add aws codecommit upstream 2023-08-30 21:08:54 +02:00
Jan De Dobbeleer eaa28738e2 chore(go): update to go 1.21 2023-08-29 20:33:57 +02:00
Jan De Dobbeleer b2f3a43d19 fix(project): exclude powershell script analyzer settings file
resolves #4188
2023-08-27 12:06:10 +02:00
Jan De Dobbeleer 0f8929ed13 feat(debug): print templates 2023-08-25 12:09:54 +02:00
Jan De Dobbeleer 672f108d22 feat(git): add SHA1 to commit metadata 2023-08-25 12:09:54 +02:00
Jan De Dobbeleer 75e098b20b fix(path): add last element when only 1 level deep
resolves #4162
2023-08-17 09:31:39 +02:00
Jan De Dobbeleer f47da9592f feat(exit): implement pipestatus
BREAKING CHANGE: exit segment is now called status segment.

The exit keyword is now deprecated and will be removed in a future
release. Please use the status keyword instead:

```diff
"segments": {
    {
-     "type": "exit"
+     "type": "status"
    }
}
```

Additionally, the status segment configuration has changed to support
$PIPESTATUS. You can include a status template to customize the
rendering of each individual status code (supported in fish, zsh and
bash).

```json
"segments": {
    {
        "type": "status",
        "properties": {
            "status_template": "{{ if gt .Code 0 }}\uf071{{ else }}\uf00c{{ end }}",
            "status_separator": " "
        }
    }
}
```

In case no $PIPESTATUS is available, the status segment will fall back
to the exit code of the last command using the status template
for rendering.

The `{{ .Meaning }}` property has been marked as deprecated and can be
replaced with `{{ reason .Code }}`, allowing it to be reused in
cross segment templates.

resolves #4070
2023-07-24 11:46:33 +02:00
Jan De Dobbeleer aacef4b186 feat: add quasar segment 2023-07-21 14:45:31 +02:00
Jan De Dobbeleer d4d6710fab fix(os): support alma linux 9
resolves #4065
2023-07-19 08:37:31 +02:00
Jan De Dobbeleer 1f283051d2 fix(os): use correct Android platform name 2023-07-14 16:17:36 +02:00
Jan De Dobbeleer b27608dd73 feat(kubectl): specify context aliases 2023-07-14 14:00:02 +02:00
Jan De Dobbeleer 7d5c731d2f feat: build for android 2023-07-14 13:08:42 +02:00
Jen Spinney cca3e053ad feat: use asdf to determine elixir version
In order to speed up version checking for the elixir segment, this change makes
it so that we first ask asdf for the elixir version, which is much faster.

If asdf is not installed or configured, the previous behavior of running
`elixir --version` will be used.

This also makes a minor fix to the elixir documentation, replacing 'flutter' with 'elixir'.
2023-07-10 08:26:44 +02:00
Jan De Dobbeleer 69a95bfb38 feat(aws): use AWS_DEFAULT_PROFILE for profile name
resolves #4036
2023-07-10 08:05:41 +02:00
Jan De Dobbeleer d005bae4f4 feat: add version -v
resolves #4014
2023-07-02 21:11:01 +02:00
Jan De Dobbeleer 301ca0b7aa fix(git): initialize status correctly
relates to #3992
2023-06-26 13:29:32 +02:00
Jan De Dobbeleer 448bbd302f fix(node): invert .Mismatch logic 2023-06-26 10:29:08 +02:00
Jan De Dobbeleer 32ee6fa7ab feat(scm): allow status override
resolves #3992
2023-06-26 08:50:53 +02:00
nopeless 06163465e8
feat(execution): lucky7 style 2023-06-19 12:22:17 +00:00
Jan De Dobbeleer c0429406dc chore: remove pinned golangci-lint 2023-06-15 09:33:16 +02:00
Jan De Dobbeleer 4c0c596c2c feat(path): add option to colorize first and last folder 2023-06-15 09:33:16 +02:00
Jan De Dobbeleer ad2780f964 feat(path): add option to format folders 2023-06-13 20:22:42 +02:00
Bohdan Dorokhin 6e9d072b5f
feat(sitecore): support CLI context switching
BREAKING CHANGE: you will need to migrate your current sitecore segment template
 in case you have a custom one. Have a look at the documentation to see what changed.
2023-06-08 07:40:05 +02:00
Jan De Dobbeleer dd68da8793 feat(git): fetch user information
resolves #3933
2023-06-06 08:06:00 +02:00
Matthew Miller 608ae1ef2e feat: update Open Weather Map to use Geocoding API 2023-05-21 15:01:06 +02:00
Matthew Miller ed8d89a7cc feat: update Open Weather Map to use Geocoding API
Updated the Open Weather Map Current Weather URL to remove the
deprecated query parameter. Updated the URL to add the supported
latitude and longitude parameters.

Added a call to the Open Wetaher Map Geocoding API to resolve the
location parameter to latitude and longitude values as specified in the
Open Weather Map documentation.

Added properties to the Open Weather Map segment to allow users to
manually specify the latitude and longitude if desired. Doing this will
skip the geocoding API call and ignore the location parameter.

Updated the website documentation for the Open Weather Map segment to
reflect the property changes and explain how to use them.
2023-05-21 15:01:06 +02:00
L. Yeung 6d6efc2981 fix(upgrade): avoid duplicate HTTP requests 2023-05-19 20:51:51 +02:00
Bas Lijten c5193c9880 feat: new Sitecore context segment 2023-05-18 21:41:05 +02:00
Jan De Dobbeleer f938794ccd feat: upgrade segment 2023-05-18 19:55:29 +02:00
Alex Villarreal 192309a283 fix(node): remove leading space for PackageManagerIcon in node segment 2023-05-17 20:27:07 +02:00
L. Yeung 4b71c2ba07 feat(path): respect folder_separator_icon in a colon-trailed root 2023-05-11 06:53:28 +02:00
Jan De Dobbeleer c57975985f fix(font): migrate away from material icons
resolves #3818
2023-05-09 11:32:04 +02:00
Javier Dehesa 8f03f415e1 feat(python): add support for pyvenv.cfg prompt 2023-05-09 11:09:22 +02:00
Matthew Miller dc085abb06
fix(owm): adjust icons outside of the MD range 2023-05-09 09:06:39 +02:00
Jan De Dobbeleer 9663a29fe6
feat(font): update to Nerd Font V3
BREAKING CHANGE: this deprecates support for Nerd Font V2 and
requires a compatible V3 Nerd Font. Note for users experiencing
issues with icons, update to the latest Nerd Font of your choice
2023-05-08 13:33:59 +02:00
Jan De Dobbeleer f0c88efb40 fix(path): validate index before assignment
resolves #3768
2023-04-27 20:07:04 +02:00
Jan De Dobbeleer 66ca5ccf1f feat(path): allow coloring the folder_separator_icon on cycle 2023-04-25 20:42:12 +02:00
Jan De Dobbeleer 077e538500 fix(sysinfo): remove CPU context
BREAKING CHANGE: this property isn't used in any of the themes and it's
incorrect as fetching CPU information requires a timer which we don't
want to use as it will make rendering the prompt slower

For users who migrate to this version, remove the .CPU property from
the sysinfo segment's template in case you have that set.

resolves #3730
2023-04-24 09:08:11 +02:00
Jan De Dobbeleer facc24d290 feat(path): add colored full path 2023-04-20 07:07:07 +02:00
Jan De Dobbeleer 794bd5ea09 fix(unity): handle index correctly
resolves #3711
2023-04-14 16:20:26 +02:00
Jan De Dobbeleer 2d0ee8c8ab feat(sapling): identify new repo without commits 2023-04-08 11:07:36 +02:00
Jason Zhang ddec1197df feat(argocd): add context segment 2023-04-07 10:00:49 +02:00
Jan De Dobbeleer e6a99c5a52 feat(exit): add exit codes 64­­–78
resolves #3658
2023-03-31 21:17:00 +02:00
Jan De Dobbeleer d8f1c4c942 feat(project): support PowerShell modules
resolves #3636
2023-03-29 21:22:14 +02:00
Jan De Dobbeleer 17bd13b0fc feat(cftarget): add display_mode 2023-03-28 20:21:56 +02:00
Jan De Dobbeleer 4eb1d0b1d6 fix(git): parse remote URL correctly
resolves #3641
2023-03-28 09:44:20 +02:00
Jan De Dobbeleer 96868bfd4f fix(path): return early when powerlevel is < max_width
resolves #3607
2023-03-27 17:00:13 +02:00
Jan De Dobbeleer 6af47a61d5 feat(path): add powerlevel style
resolves #3607
2023-03-21 20:47:17 +01:00
Jan De Dobbeleer 3b1823682d chore(go): update dependency 2023-03-20 12:45:14 +01:00
Jan De Dobbeleer 8dbdc160db fix(node): trim spaces from expected version
resolves #3583
2023-03-13 22:05:45 +01:00