mirror of
https://github.com/starship/starship.git
synced 2024-11-23 08:43:16 +01:00
docs: reorder misplaced Ruby option example (#317)
This commit is contained in:
parent
29eedeb698
commit
59d066c01f
@ -427,15 +427,6 @@ disabled = true
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```toml
|
|
||||||
# ~/.config/starship.toml
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = "🔺 "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Nix-shell
|
## Nix-shell
|
||||||
|
|
||||||
The `nix_shell` module shows the nix-shell environment.
|
The `nix_shell` module shows the nix-shell environment.
|
||||||
@ -578,6 +569,15 @@ The module will be shown if any of the following conditions are met:
|
|||||||
| `style` | `"bold red"` | The style for the module. |
|
| `style` | `"bold red"` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `ruby` module. |
|
| `disabled` | `false` | Disables the `ruby` module. |
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
|
[ruby]
|
||||||
|
symbol = "🔺 "
|
||||||
|
```
|
||||||
|
|
||||||
## Rust
|
## Rust
|
||||||
|
|
||||||
The `rust` module shows the currently installed version of Rust.
|
The `rust` module shows the currently installed version of Rust.
|
||||||
|
Loading…
Reference in New Issue
Block a user