1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-25 06:07:43 +00:00

docs: Small fixes to the config docs

This commit is contained in:
Matan Kushner 2019-09-28 01:17:53 +09:00
parent f0298ecb8a
commit b29891adf9
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4

View File

@ -113,11 +113,11 @@ The `aws` module shows the current AWS profile. This is based on the
### Options ### Options
| Variable | Default | Description | | Variable | Default | Description |
| ---------- | --------------- | ---------------------------------------------------- | | ---------- | --------------- | ---------------------------------------------------------- |
| `disabled` | `false` | Disables the `AWS` module | | `symbol` | `"☁️ "` | The symbol used before displaying the current AWS profile. |
| `style` | `"bold yellow"` | The style used for the module | | `style` | `"bold yellow"` | The style for the module. |
| `symbol` | `"☁️ "` | The symbol before displaying the current AWS profile | | `disabled` | `false` | Disables the `AWS` module. |
### Example ### Example
@ -148,7 +148,7 @@ The module is only visible when the device's battery is below 10%.
<summary>There are also options for some uncommon battery states.</summary> <summary>There are also options for some uncommon battery states.</summary>
| Variable | Description | | Variable | Description |
|------------------|-----------------------------------------------------| | ---------------- | --------------------------------------------------- |
| `unknown_symbol` | The symbol shown when the battery state is unknown. | | `unknown_symbol` | The symbol shown when the battery state is unknown. |
| `empty_symbol` | The symbol shown when the battery state is empty. | | `empty_symbol` | The symbol shown when the battery state is empty. |
@ -300,7 +300,6 @@ it would have been `nixpkgs/pkgs`.
</details> </details>
### Example ### Example
```toml ```toml
@ -470,7 +469,6 @@ The module will be shown if any of the following conditions are met:
symbol = "🏎💨 " symbol = "🏎💨 "
``` ```
## Hostname ## Hostname
The `hostname` module shows the system hostname. The `hostname` module shows the system hostname.
@ -497,7 +495,6 @@ suffix = "⟫"
disabled = false disabled = false
``` ```
## Jobs ## Jobs
The `jobs` module shows the current number of jobs running. The `jobs` module shows the current number of jobs running.
@ -543,7 +540,6 @@ The `line_break` module separates the prompt into two lines.
disabled = true disabled = true
``` ```
## Nix-shell ## Nix-shell
The `nix_shell` module shows the nix-shell environment. The `nix_shell` module shows the nix-shell environment.
@ -581,11 +577,11 @@ The module will be shown if any of the following conditions are met:
### Options ### Options
| Variable | Default | Description | | Variable | Default | Description |
| ---------- | -------------- | -------------------------------------------------------- | | ---------- | -------------- | ------------------------------------------------------ |
| `symbol` | `"☕ "` | The symbol used before displaying the version of Java. | | `symbol` | `"☕ "` | The symbol used before displaying the version of Java. |
| `style` | `"dimmed red"` | The style for the module. | | `style` | `"dimmed red"` | The style for the module. |
| `disabled` | `false` | Disables the `java` module. | | `disabled` | `false` | Disables the `java` module. |
### Example ### Example
@ -596,7 +592,6 @@ The module will be shown if any of the following conditions are met:
symbol = "🌟 " symbol = "🌟 "
``` ```
## NodeJS ## NodeJS
The `nodejs` module shows the currently installed version of NodeJS. The `nodejs` module shows the currently installed version of NodeJS.
@ -790,12 +785,12 @@ The module will be shown if any of the following conditions are met:
### Options ### Options
| Variable | Default | Description | | Variable | Default | Description |
| ------------ | --------------- | ------------------------------------- | | ------------- | --------------- | ------------------------------------- |
| `style_root` | `"bold red"` | The style used when the user is root. | | `style_root` | `"bold red"` | The style used when the user is root. |
| `style_user` | `"bold yellow"` | The style used for non-root users. | | `style_user` | `"bold yellow"` | The style used for non-root users. |
| `show_always`| `false` | Always shows the `username` module. | | `show_always` | `false` | Always shows the `username` module. |
| `disabled` | `false` | Disables the `username` module. | | `disabled` | `false` | Disables the `username` module. |
### Example ### Example