mirror of
https://github.com/Llewellynvdm/starship.git
synced 2025-01-27 00:58:37 +00:00
docs: Update use_12hr config option name
This commit is contained in:
parent
b7762a3e91
commit
9f22bce944
@ -591,13 +591,11 @@ symbol = "+ "
|
|||||||
threshold = 4
|
threshold = 4
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Kubernetes
|
## Kubernetes
|
||||||
|
|
||||||
Displays the current Kubernetes context name and, if set, the namespace from
|
Displays the current Kubernetes context name and, if set, the namespace from
|
||||||
the kubeconfig file. The namespace needs to be set in the kubeconfig file, this
|
the kubeconfig file. The namespace needs to be set in the kubeconfig file, this
|
||||||
can be done via `kubectl config set-context starship-cluster --namespace
|
can be done via `kubectl config set-context starship-cluster --namespace astronaut`. If the `$KUBECONFIG` env var is set the module will use that if
|
||||||
astronaut`. If the `$KUBECONFIG` env var is set the module will use that if
|
|
||||||
not it will use the `~/.kube/config`.
|
not it will use the `~/.kube/config`.
|
||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
@ -626,7 +624,6 @@ style = "dim green"
|
|||||||
disabled = false
|
disabled = false
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Line Break
|
## Line Break
|
||||||
|
|
||||||
The `line_break` module separates the prompt into two lines.
|
The `line_break` module separates the prompt into two lines.
|
||||||
@ -689,7 +686,7 @@ To enable it, set `disabled` to `false` in your configuration file.
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Variable | Default | Description |
|
| Variable | Default | Description |
|
||||||
| ----------------- | ------------------------ | ------------------------------------------------------------- |
|
| ----------------- | --------------------- | ------------------------------------------------------------- |
|
||||||
| `show_percentage` | `false` | Display memory usage as a percentage of the available memory. |
|
| `show_percentage` | `false` | Display memory usage as a percentage of the available memory. |
|
||||||
| `show_swap` | `true` | Display swap usage if total swap is non-zero. |
|
| `show_swap` | `true` | Display swap usage if total swap is non-zero. |
|
||||||
| `threshold` | `75` | Hide the memory usage unless it exceeds this percentage. |
|
| `threshold` | `75` | Hide the memory usage unless it exceeds this percentage. |
|
||||||
@ -900,7 +897,7 @@ To enable it, set `disabled` to `false` in your configuration file.
|
|||||||
|
|
||||||
| Variable | Default | Description |
|
| Variable | Default | Description |
|
||||||
| ----------------- | ------------- | ------------------------------------------------------------------------------------------------------------------- |
|
| ----------------- | ------------- | ------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `12hr` | `false` | Enables 12 hour formatting |
|
| `use_12hr` | `false` | Enables 12 hour formatting |
|
||||||
| `format` | see below | The [chrono format string](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) used to format the time. |
|
| `format` | see below | The [chrono format string](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) used to format the time. |
|
||||||
| `style` | `bold yellow` | The style for the module time |
|
| `style` | `bold yellow` | The style for the module time |
|
||||||
| `disabled` | `true` | Disables the `time` module. |
|
| `disabled` | `true` | Disables the `time` module. |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user