mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
feat: add singularity module (#932)
This commit is contained in:
@@ -1091,6 +1091,33 @@ The module will be shown if any of the following conditions are met:
|
||||
symbol = "⚙️ "
|
||||
```
|
||||
|
||||
## Singularity
|
||||
|
||||
The `singularity` module shows the current singularity image, if inside a container
|
||||
and `$SINGULARITY_NAME` is set.
|
||||
|
||||
:::
|
||||
|
||||
### Options
|
||||
|
||||
| Variable | Default | Description |
|
||||
| ---------- | -------------------- | ------------------------------------------------ |
|
||||
| `label` | `""` | Prefix before the image name display. |
|
||||
| `prefix` | `"["` | Prefix to display immediately before image name. |
|
||||
| `suffix` | `"]"` | Suffix to display immediately after image name. |
|
||||
| `symbol` | `""` | The symbol used before the image name. |
|
||||
| `style` | `"bold dimmed blue"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `singularity` module. |
|
||||
|
||||
### Example
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[singularity]
|
||||
symbol = "📦 "
|
||||
```
|
||||
|
||||
## Terraform
|
||||
|
||||
The `terraform` module shows the currently selected terraform workspace and version.
|
||||
|
||||
Reference in New Issue
Block a user