feat: added mise module (#5747)

This commit is contained in:
Andrew Pantuso
2025-04-26 16:15:30 -04:00
committed by GitHub
parent 7e88ba9561
commit d24e78754a
8 changed files with 311 additions and 0 deletions
+35
View File
@@ -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