Commit graph

213 commits

Author SHA1 Message Date
kema dba8b2f7ad
feat(git): add aws codecommit upstream 2023-08-30 21:08:54 +02:00
Jan De Dobbeleer 0af3029cf1 fix(cursor): allow disabling cursor positioning
resolves #4072
2023-07-24 19:20:41 +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 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 32ee6fa7ab feat(scm): allow status override
resolves #3992
2023-06-26 08:50:53 +02:00
nopeless 920f24ea65
chore: schema support for lucky7 2023-06-20 11:51:45 +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
Parker Mauney 2751a7c206 fix(schema): replace $id with canonical URI 2023-05-21 01:19:40 +02:00
L. Yeung c3c7c9e6e0 fix(schema): add upgrade to segment types 2023-05-20 08:05:21 +02:00
L. Yeung 6c7cffc69a fix(schema): add definitions of upgrade and correct outdated links 2023-05-19 20:51:51 +02:00
Bas Lijten c5193c9880 feat: new Sitecore context segment 2023-05-18 21:41:05 +02:00
krzysdz 6544815766
feat: shell integration using FinalTerm's OSC sequences 2023-05-17 21:27:21 +00: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 cdc560c7bd feat(transient): add Filler 2023-04-15 18:01:25 +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 5ec65ab373 feat: add docker segment
resolves #3549
2023-03-05 14:45:28 +01:00
Colt 1ceba7d603
feat: add Unity segment 2023-02-26 14:37:37 +00:00
jan De Dobbeleer dd32018836 feat: add sapling segment 2023-02-16 15:24:19 +01:00
Jan De Dobbeleer 51fd45dc60 feat(git): allow to exclude repo's from status fetching 2023-01-26 19:58:31 +01:00
David Courtney 822b7c755e feat: add mercurial segment 2023-01-11 15:25:11 +01:00
Jan De Dobbeleer 86459f9a2f feat: cycle through colors
resolves #3327
2023-01-10 13:54:51 +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
kamfaima 25c6963f3f chore: change default icon for Azure DevOps 2023-01-09 07:47:43 +01:00
NoF0rte 9d81f5a362 feat(style): segment style as a template string 2022-12-29 19:44:50 +01:00
NoF0rte 9e40a1a0dc feat: conditional segment styles 2022-12-29 19:44:50 +01:00
mirsella 93f6576da0 feat: allow segments to hide based on terminal width 2022-12-03 11:20:06 +01:00
Lemorz56 acd4d01d4d feat: add gitversion segment 2022-11-30 12:51:08 +01:00
Ted Reed 1c7db480f9 feat(shell): osc51 support
working directory OSC for emacs-libvterm
2022-11-27 10:14:55 +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
Romain Chardiny ae4f8133ca feat(segment): add xmake 2022-11-05 20:10:01 +01:00
Jan De Dobbeleer 48d1015c3e fix(schema): correct palette reference
resolves #2950
2022-10-16 00:18:00 +02:00
Jan De Dobbeleer 3efa4df088 feat(palette): conditional palettes 2022-10-14 20:25:00 +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
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
Jan De Dobbeleer b87a7f7da2 fix(poshgit): remove all references 2022-09-23 08:46:12 +02:00
Jan De Dobbeleer aecd8d6bfd feat(templates): segment alias
resolves #2811
2022-09-20 20:14:31 +02:00
Jan De Dobbeleer c3c72b17b3 feat: deno segment
resolves #2764
2022-09-18 09:50:09 +02:00
Jan De Dobbeleer 3ded4c00fc feat(posh-git): parse environment variable
BREAKING CHANGE: this removes the posh-git segment. To mitigate,
rename the posh-git segment to git.

In case you had a custom template, make sure to migrate to the git
segment's template. You can now also leverage the same logic and
properties as the git segment in both the text template and/or
color templates.
2022-09-07 18:04:41 +02:00
Stephen Judd f6ec503bbf
feat: add Google Cloud (gcp) segment 2022-08-17 18:12:18 +02:00
Jan De Dobbeleer bdf447cc21 theme(schema): add value type indicator for timeouts
relates to #2662
2022-08-16 21:34:19 +02:00