Commit graph

198 commits

Author SHA1 Message Date
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 efe7398799 docs: update to docusaurus V3 2023-11-19 19:14:25 +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
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
Sri Ramanujam 91fb561de7 feat(python): use parent directory as name when "venv" or ".venv" 2023-10-30 15:30:23 +01:00
Warren Buckley 9003be7be0 fix(umbraco): update doc to describe it looks for the key umbracoconfigurationstatus 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
LunarMarathon 59edcc7ed0 docs: correct typos 2023-10-05 11:41:05 +02:00
Ernesto R. C. Pereda 43aca8e9ea
feat(helm): add segment 2023-09-04 21:00:04 +02:00
Jan De Dobbeleer 3d53650b22 refactor(git): add booleans to identify state 2023-09-04 17:06:20 +02:00
kema-dev 7eef6ef82d docs(codecommit): fix typo 2023-09-02 22:03:46 +02:00
kema dba8b2f7ad
feat(git): add aws codecommit upstream 2023-08-30 21:08:54 +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 672f108d22 feat(git): add SHA1 to commit metadata 2023-08-25 12:09:54 +02:00
Jan De Dobbeleer 6dbfcc7c1e docs: remove ruby version properties
resolves #4163
2023-08-16 18:49:55 +02:00
Jan De Dobbeleer c4a1a55f9d docs: add missing Strava connect image
resolves #4130
2023-08-06 09:48:28 +02:00
Jan De Dobbeleer c079e6eacf docs(status): use correct template 2023-08-02 07:28:40 +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 b27608dd73 feat(kubectl): specify context aliases 2023-07-14 14:00:02 +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
nopeless 1374227b41 fix: lucky7 formatting in markdown 2023-06-27 14:41:11 +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 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
L. Yeung 2805c1b81a docs(executiontime): remove outdated instructions 2023-06-08 15:36:58 +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
Gonzalo Brusella a973a75604
docs(executiontime): add always_enabled to example 2023-05-22 15:29:26 +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
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
Jan De Dobbeleer c57975985f fix(font): migrate away from material icons
resolves #3818
2023-05-09 11:32:04 +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 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 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 4ff2dd233e docs: add all supported config formats 2023-03-31 21:17:00 +02:00
Jan De Dobbeleer 17bd13b0fc feat(cftarget): add display_mode 2023-03-28 20:21:56 +02:00
Jan De Dobbeleer 6af47a61d5 feat(path): add powerlevel style
resolves #3607
2023-03-21 20:47:17 +01:00
Jan De Dobbeleer c03ee35107 feat(node): export expected version
resolves #3576
2023-03-13 08:14:27 +01:00
Janrey Licas e438c8d61e
fix(wakatime)!: rename Cummulative to Cumulative 2023-03-11 10:05:29 +01:00
Jan De Dobbeleer 5beac7b8fb feat(sapling): add commit description field 2023-03-05 15:14:03 +01:00
Jan De Dobbeleer 5ec65ab373 feat: add docker segment
resolves #3549
2023-03-05 14:45:28 +01:00
Colt a97100f936
perf(unity): implement faster C# version lookups 2023-03-04 08:29:47 +01:00
Colt 1ceba7d603
feat: add Unity segment 2023-02-26 14:37:37 +00:00
Janrey Licas 9d6f2d938b
docs(wakatime): fix table and add subsection for API key 2023-02-19 16:29:30 +01:00
jan De Dobbeleer dd32018836 feat: add sapling segment 2023-02-16 15:24:19 +01:00
Jan De Dobbeleer 565f53b117 fix(fish): do not use the iTerm segment 2023-02-05 21:51:16 +01:00
Sven Aelterman ca21d6d50f
docs: change account to subscription 2023-02-04 20:36:30 +01:00
Jan De Dobbeleer 51fd45dc60 feat(git): allow to exclude repo's from status fetching 2023-01-26 19:58:31 +01:00
Jan De Dobbeleer ca57311ef5 feat: add buf segment 2023-01-21 09:40:28 +01:00
Jan De Dobbeleer fd166f3e6e docs: correct link to hyperlinks
resolves #3372
2023-01-17 18:49:53 +01:00
Jan De Dobbeleer 4f83452e84 fix(hyperlink): use unique format to avoid conflicts
BREAKING CHANGE: this can cause existing manual hyperlinks
(`[text](link)`) to stop working. To fix, change those to
the following syntax: `«text»(link)`

resolves #3353
2023-01-12 10:01:16 +01:00
David Courtney 822b7c755e feat: add mercurial segment 2023-01-11 15:25:11 +01:00
David Hrdlička caa2481589 fix(elixir): match on *.exs files too
the `.exs` file extension is used for Elixir scripts, this also
includes project files and tests in Mix projects
2023-01-10 19:41:38 +01:00
Jan De Dobbeleer 6ca3d22b80 fix: adjust Azure DevOps icon
relates to #3336
2023-01-10 13:54:51 +01:00
Jan De Dobbeleer e05c74a3c3 docs(spotify): clarify supported applications
relates to #3310
2023-01-09 15:35:22 +01:00
Jan De Dobbeleer a2353d93e7 feat: add vala segment
resolves #3329
2023-01-09 09:18:18 +01:00
Jan De Dobbeleer 2751a243ef feat: add elixir segment
resolves #3314
2023-01-09 09:18:18 +01:00
Jan De Dobbeleer b8c09f92ab feat(git): add commit information
resolves #3331
2023-01-09 09:18:18 +01:00
Jan De Dobbeleer 62a1bf96da feat(git): allow adding own remote icons
resolves #3300
2023-01-06 08:14:05 +01:00
Jan De Dobbeleer 60664e245a feat(git): remove stash and worktree count from template
they are now individual functions so they no longer need a switch
2022-12-28 17:14:29 +01:00
Jan De Dobbeleer 07206e5aae feat(project): add always_enabled and project type 2022-12-27 15:53:31 +01:00
Jan De Dobbeleer 8aca8a2d84 docs(project): add .Error reference 2022-12-27 15:53:31 +01:00
Michael Carman e40cee25f5 docs(svn): add "?" / .Untracked 2022-12-25 20:32:19 +01:00
Jan De Dobbeleer 4baf6dc5c9 docs(az): add module link 2022-12-21 19:34:30 +01:00
jooooel f589688f2d docs(git): information about untracked changes 2022-12-20 18:14:34 +01:00
David Anthoff f965dc49aa
feat(project): add support for Julia 2022-12-18 14:55:57 +01:00
Albert Portnoy 3dd642b608 docs: fix command segment props table 2022-12-06 19:38:39 +01:00
Ethan 7ac66162a0 docs: fix warning grammar in gitversion.mdx 2022-12-04 10:30:34 +01:00
Lemorz56 acd4d01d4d feat: add gitversion segment 2022-11-30 12:51:08 +01:00
Jan De Dobbeleer b9dd5c18a8 feat(path): add RootDir property
relates to #3103
2022-11-28 20:38:43 +01:00
Jan De Dobbeleer c8fb6322eb feat(os): support for alma and rocky linux
resolves #3101
2022-11-25 13:37:21 +01:00
Gerben Welter 636a5e29fc
feat(os): add Redhat icon 2022-11-22 20:38:30 +01:00
Gerben Welter 40a065da5a
docs: convert the Golang RTL icon to a LTR icon 2022-11-19 20:04:09 +01:00
Romain Chardiny ae4f8133ca feat(segment): add xmake 2022-11-05 20:10:01 +01:00
Jan De Dobbeleer c156d17577 feat(path): replace child locations
relates to #2962
2022-11-04 21:03:36 +01:00
Oleksandr Babieiev 7ae14646d7 feat(project): enhance project segment with .NET 2022-10-27 13:55:27 +02:00
Jan De Dobbeleer e0b28bd2c4 feat(git): disable bare repo's by default
relates to #2913
2022-10-13 08:40:29 +02:00
Michał Zielański 1fbd784890
docs(iterm): requires interactive property be set to true 2022-10-12 13:05:42 +02:00
Jan De Dobbeleer e45cd7ea17 feat(git): display when in bare repo 2022-10-10 09:01:11 +02:00
Ashutosh Pandey 02d4e84e4a
docs(gcp): correct template 2022-10-06 11:08:56 +02:00
LNK LEO 4b6b128d74 feat(connection): new segment
BREAKING CHANGE: this will need a manual migration from the wifi
segment to the new connection segment.
2022-10-05 16:16:17 +02:00
LNK LEO 38e94e6a59 docs(rust): update doc 2022-10-05 13:26:37 +02:00
L. Yeung 5b6a3470d1 fix(path): parse path correctly 2022-10-04 06:50:07 +02:00
Jan De Dobbeleer 56ae9e6fda feat(az): parse pwsh context from module output
this fixes an issue where using multiple powershell sessions with a
different Azure context would display the same context everywhere when
using Set-AzContext to switch between them

BREAKING CHANGE: this requires adding `$env:POSH_AZURE_ENABLED = $true`
to your PowerShell profile if you want to get the correct context
displayed in your prompt for Azure powershell
2022-09-26 08:23:03 +02:00
Jan De Dobbeleer dfed233171 docs(git): default posh-git information
relates to #2747
2022-09-25 09:31:43 +02:00
Jan De Dobbeleer 19bb8f99b9 feat(deno): add deno.json
relates to #2764
2022-09-23 21:19:47 +02:00