Commit graph

314 commits

Author SHA1 Message Date
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 8cd77ae1c2 docs: add ca-certificates info
resolves #4073
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
allcontributors[bot] 2379b4f591 docs: update website/docs/contributors.md [skip ci] 2023-07-10 08:27:18 +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
allcontributors[bot] 3ff973befc docs: update website/docs/contributors.md [skip ci] 2023-07-05 14:45:03 +02:00
allcontributors[bot] 83b68e4f22 docs: update website/docs/contributors.md [skip ci] 2023-06-30 20:44:17 +02:00
nopeless 1374227b41 fix: lucky7 formatting in markdown 2023-06-27 14:41:11 +02:00
allcontributors[bot] 0ee8941eae docs: update website/docs/contributors.md [skip ci] 2023-06-26 10:32:30 +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
allcontributors[bot] 1207d8b6c6 docs: update website/docs/contributors.md [skip ci] 2023-06-22 19:58:50 +02:00
Tavi 1e3eced583
docs: update url to meslo v3 2023-06-22 19:58:18 +02:00
allcontributors[bot] ec3ee10c1e docs: update website/docs/contributors.md [skip ci] 2023-06-20 11:52:20 +02:00
allcontributors[bot] 1ee62231ca docs: update website/docs/contributors.md [skip ci] 2023-06-19 14:52:02 +02:00
Loc Nguyen 007c567c08
docs(fonts): update font name 2023-06-19 14:51:30 +02:00
allcontributors[bot] 9e27ed8ec2 docs: update website/docs/contributors.md [skip ci] 2023-06-19 14:22:51 +02:00
nopeless 06163465e8
feat(execution): lucky7 style 2023-06-19 12:22:17 +00:00
allcontributors[bot] 4139945eb1 docs: update website/docs/contributors.md [skip ci] 2023-06-15 16:29:14 +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
Jan De Dobbeleer eee5198664 feat(fonts): install as user 2023-06-12 20:26:13 +02:00
L. Yeung 2805c1b81a docs(executiontime): remove outdated instructions 2023-06-08 15:36:58 +02:00
allcontributors[bot] 67a919ec3e docs: update website/docs/contributors.md [skip ci] 2023-06-08 07:40:40 +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
Jan De Dobbeleer 50fc40a5fe
chore: update install script for platform detection 2023-06-05 20:53:43 +02:00
allcontributors[bot] 03f1517813 docs: update website/docs/contributors.md [skip ci] 2023-05-28 13:14:31 +02:00
vegchic e7eb8bd3bb fix(doc): remove outdated content for Scoop 2023-05-28 13:13:56 +02:00
allcontributors[bot] c45f063e2f docs: update website/docs/contributors.md [skip ci] 2023-05-25 14:58:29 +02:00
allcontributors[bot] 80b68ec56f docs: update website/docs/contributors.md [skip ci] 2023-05-22 15:29:59 +02:00
Gonzalo Brusella a973a75604
docs(executiontime): add always_enabled to example 2023-05-22 15:29:26 +02:00
allcontributors[bot] 84a59b4911 docs: update website/docs/contributors.md [skip ci] 2023-05-21 15:01:37 +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
allcontributors[bot] 9de0af781c docs: update website/docs/contributors.md [skip ci] 2023-05-21 01:20:11 +02:00
allcontributors[bot] 4e6cbf14ad docs: update website/docs/contributors.md [skip ci] 2023-05-19 20:52:22 +02:00
allcontributors[bot] 1123dd0fbe docs: update website/docs/contributors.md [skip ci] 2023-05-18 21:41:37 +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
allcontributors[bot] 80c91c0fd7 docs: update website/docs/contributors.md [skip ci] 2023-05-17 23:27:56 +02:00
krzysdz 6544815766
feat: shell integration using FinalTerm's OSC sequences 2023-05-17 21:27:21 +00:00
allcontributors[bot] 207a7c8ab7 docs: update website/docs/contributors.md [skip ci] 2023-05-17 20:27:41 +02:00
Jan De Dobbeleer 221cd7bad2 feat(linux): add installation script
resolves #3815
2023-05-10 20:19:51 +02:00
Jan De Dobbeleer c57975985f fix(font): migrate away from material icons
resolves #3818
2023-05-09 11:32:04 +02:00
allcontributors[bot] 774ef884bb docs: update website/docs/contributors.md [skip ci] 2023-05-09 11:09:58 +02:00
allcontributors[bot] 1185587fe4 docs: update website/docs/contributors.md [skip ci] 2023-05-09 09:07:11 +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 7980b01621 docs(faq): clarify spaces in Windows Terminal 2023-04-29 11:58:21 +02:00
allcontributors[bot] 194048989a docs: update website/docs/contributors.md [skip ci] 2023-04-27 16:52:15 +02:00