oh-my-posh/website
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
..
api docs: remove social integration 2023-05-06 20:34:23 +02:00
blog docs: tweak tips, cautions and warnings 2022-08-10 13:21:00 +02:00
docs feat(exit): implement pipestatus 2023-07-24 11:46:33 +02:00
plugins/appinsights
src docs: add privacy policy link 2023-05-08 13:35:06 +02:00
static fix(install.sh): missing oh-my-posh binary ubuntu 20 2023-07-05 14:44:27 +02:00
.gitignore
docusaurus.config.js docs: add privacy policy link 2023-05-08 13:35:06 +02:00
export_themes.js chore(update): update theme to v1.2.4 with metadata changes 2023-07-11 12:43:45 +02:00
package-lock.json chore(deps): bump yaml from 2.2.1 to 2.2.2 in /website 2023-04-25 18:00:09 +02:00
package.json chore(deps): bump yaml from 2.2.1 to 2.2.2 in /website 2023-04-25 18:00:09 +02:00
README.md docs: update README to use npm 2023-06-29 07:56:34 +02:00
sidebars.js feat(exit): implement pipestatus 2023-07-24 11:46:33 +02:00
staticwebapp.config.json docs: remove social integration 2023-05-06 20:34:23 +02:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ npm install

Local Development

$ npm run start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.