mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-28 15:56:28 +00:00
docs: Improve doc consistency
This commit is contained in:
parent
7d1c0f6b9f
commit
9f574eaabd
@ -126,7 +126,7 @@ The `aws` module shows the current AWS region and profile. This is based on
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Variable | Default | Description |
|
| Variable | Default | Description |
|
||||||
| ----------------- | --------------- | ----------------------------------------------------------------------------|
|
| ----------------- | --------------- | --------------------------------------------------------------------------- |
|
||||||
| `symbol` | `"☁️ "` | The symbol used before displaying the current AWS profile. |
|
| `symbol` | `"☁️ "` | The symbol used before displaying the current AWS profile. |
|
||||||
| `style` | `"bold yellow"` | The style for the module. |
|
| `style` | `"bold yellow"` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `AWS` module. |
|
| `disabled` | `false` | Disables the `AWS` module. |
|
||||||
@ -369,8 +369,8 @@ setting `heuristic = false` in the module options.
|
|||||||
| Variable | Default | Description |
|
| Variable | Default | Description |
|
||||||
| ----------- | ------------- | -------------------------------------------------------- |
|
| ----------- | ------------- | -------------------------------------------------------- |
|
||||||
| `symbol` | `"•NET "` | The symbol used before displaying the version of dotnet. |
|
| `symbol` | `"•NET "` | The symbol used before displaying the version of dotnet. |
|
||||||
| `style` | `"bold blue"` | The style for the module. |
|
|
||||||
| `heuristic` | `true` | Use faster version detection to keep starship snappy. |
|
| `heuristic` | `true` | Use faster version detection to keep starship snappy. |
|
||||||
|
| `style` | `"bold blue"` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `dotnet` module. |
|
| `disabled` | `false` | Disables the `dotnet` module. |
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
@ -439,7 +439,6 @@ truncation_length = 4
|
|||||||
truncation_symbol = ""
|
truncation_symbol = ""
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Git Commit
|
## Git Commit
|
||||||
|
|
||||||
The `git_commit` module shows the active branch of the repo in your current directory.
|
The `git_commit` module shows the active branch of the repo in your current directory.
|
||||||
@ -454,11 +453,11 @@ To enable it, set `disabled` to `false` in your configuration file.
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Variable | Default | Description |
|
| Variable | Default | Description |
|
||||||
| ------------ | ----------| -------------------------------------------------|
|
| -------------------- | -------------- | ------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||||
| `style` | `"green"` | The style for the module. |
|
|
||||||
| `prefix` | `(` | Prefix to display immediately before git commit. |
|
| `prefix` | `(` | Prefix to display immediately before git commit. |
|
||||||
| `suffix` | `)` | Suffix to display immediately after git commit. |
|
| `suffix` | `)` | Suffix to display immediately after git commit. |
|
||||||
|
| `style` | `"bold green"` | The style for the module. |
|
||||||
| `disabled` | `true` | Disables the `git_commit` module. |
|
| `disabled` | `true` | Disables the `git_commit` module. |
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
@ -511,7 +510,7 @@ current directory.
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Variable | Default | Description |
|
| Variable | Default | Description |
|
||||||
| ------------------- | -------------------------- | --------------------------------------------------------------- |
|
| ------------------ | -------------------------- | ------------------------------------------------------- |
|
||||||
| `conflicted` | `"="` | This branch has merge conflicts. |
|
| `conflicted` | `"="` | This branch has merge conflicts. |
|
||||||
| `conflicted_count` | [link](#git-status-counts) | Show and style the number of conflicts. |
|
| `conflicted_count` | [link](#git-status-counts) | Show and style the number of conflicts. |
|
||||||
| `ahead` | `"⇡"` | This branch is ahead of the branch being tracked. |
|
| `ahead` | `"⇡"` | This branch is ahead of the branch being tracked. |
|
||||||
@ -537,11 +536,10 @@ current directory.
|
|||||||
#### Git Status Counts
|
#### Git Status Counts
|
||||||
|
|
||||||
| Variable | Default | Description |
|
| Variable | Default | Description |
|
||||||
| ----------- | ------- | ------------------------------------------------------ |
|
| --------- | ------- | ------------------------------------------------------ |
|
||||||
| `enabled` | `false` | Show the number of files |
|
| `enabled` | `false` | Show the number of files |
|
||||||
| `style` | | Optionally style the count differently than the module |
|
| `style` | | Optionally style the count differently than the module |
|
||||||
|
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
@ -885,7 +883,7 @@ 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 PHP. |
|
| `symbol` | `"🐘 "` | The symbol used before displaying the version of PHP. |
|
||||||
| `style` | `"bold red"` | The style for the module. |
|
| `style` | `"bold red"` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `php` module. |
|
| `disabled` | `false` | Disables the `php` module. |
|
||||||
|
Loading…
Reference in New Issue
Block a user