docs: reorder misplaced Ruby option example (#317)

This commit is contained in:
Weihang Lo 2019-09-08 22:57:52 +08:00 committed by Kevin Song
parent 29eedeb698
commit 59d066c01f

View File

@ -427,15 +427,6 @@ disabled = true
```
### Example
```toml
# ~/.config/starship.toml
[ruby]
symbol = "🔺 "
```
## Nix-shell
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. |
| `disabled` | `false` | Disables the `ruby` module. |
### Example
```toml
# ~/.config/starship.toml
[ruby]
symbol = "🔺 "
```
## Rust
The `rust` module shows the currently installed version of Rust.