mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
feat: added mise module (#5747)
This commit is contained in:
@@ -342,6 +342,7 @@ $azure\
|
||||
$nats\
|
||||
$direnv\
|
||||
$env_var\
|
||||
$mise\
|
||||
$crystal\
|
||||
$custom\
|
||||
$sudo\
|
||||
@@ -2989,6 +2990,40 @@ truncation_length = 4
|
||||
truncation_symbol = ''
|
||||
```
|
||||
|
||||
## Mise
|
||||
|
||||
The `mise` module shows the current mise health as reported by running `mise doctor`.
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Default | Description |
|
||||
| ------------------ | -------------------------------- | ------------------------------------------------ |
|
||||
| `symbol` | `'mise '` | The symbol used before displaying _mise_ health. |
|
||||
| `style` | `'bold purple'` | The style for the module. |
|
||||
| `format` | `'on [$symbol$health]($style) '` | The format for the module. |
|
||||
| `healthy_symbol` | `healthy` | The message displayed when _mise_ is healthy. |
|
||||
| `unhealthy_symbol` | `unhealthy` | The message displayed when _mise_ is unhealthy. |
|
||||
| `disabled` | `true` | Disables the `mise` module. |
|
||||
|
||||
### Variables
|
||||
|
||||
| Variable | Example | Description |
|
||||
| -------- | --------- | ------------------------------------ |
|
||||
| health | `healthy` | The health of _mise_ |
|
||||
| symbol | | Mirrors the value of option `symbol` |
|
||||
| style\* | | Mirrors the value of option `style` |
|
||||
|
||||
*: This variable can only be used as a part of a style string
|
||||
|
||||
### Example
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[mise]
|
||||
health = 'ready'
|
||||
```
|
||||
|
||||
## Mojo
|
||||
|
||||
The `mojo` module shows the current version of [Mojo programming language](https://www.modular.com/mojo) installed
|
||||
|
||||
Reference in New Issue
Block a user