docs: Improve doc consistency

This commit is contained in:
Matan Kushner 2019-12-06 12:00:15 -05:00
parent 7d1c0f6b9f
commit 9f574eaabd
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4
1 changed files with 42 additions and 44 deletions

View File

@ -126,7 +126,7 @@ The `aws` module shows the current AWS region and profile. This is based on
### Options
| Variable | Default | Description |
| ----------------- | --------------- | ----------------------------------------------------------------------------|
| ----------------- | --------------- | --------------------------------------------------------------------------- |
| `symbol` | `"☁️ "` | The symbol used before displaying the current AWS profile. |
| `style` | `"bold yellow"` | The style for the module. |
| `disabled` | `false` | Disables the `AWS` module. |
@ -369,8 +369,8 @@ setting `heuristic = false` in the module options.
| Variable | Default | Description |
| ----------- | ------------- | -------------------------------------------------------- |
| `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. |
| `style` | `"bold blue"` | The style for the module. |
| `disabled` | `false` | Disables the `dotnet` module. |
### Example
@ -439,7 +439,6 @@ truncation_length = 4
truncation_symbol = ""
```
## Git Commit
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
| Variable | Default | Description |
| ------------ | ----------| -------------------------------------------------|
| -------------------- | -------------- | ------------------------------------------------ |
| `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. |
| `suffix` | `)` | Suffix to display immediately after git commit. |
| `style` | `"bold green"` | The style for the module. |
| `disabled` | `true` | Disables the `git_commit` module. |
### Example
@ -511,7 +510,7 @@ current directory.
### Options
| Variable | Default | Description |
| ------------------- | -------------------------- | --------------------------------------------------------------- |
| ------------------ | -------------------------- | ------------------------------------------------------- |
| `conflicted` | `"="` | This branch has merge conflicts. |
| `conflicted_count` | [link](#git-status-counts) | Show and style the number of conflicts. |
| `ahead` | `"⇡"` | This branch is ahead of the branch being tracked. |
@ -537,11 +536,10 @@ current directory.
#### Git Status Counts
| Variable | Default | Description |
| ----------- | ------- | ------------------------------------------------------ |
| --------- | ------- | ------------------------------------------------------ |
| `enabled` | `false` | Show the number of files |
| `style` | | Optionally style the count differently than the module |
### Example
```toml
@ -885,7 +883,7 @@ The module will be shown if any of the following conditions are met:
### Options
| Variable | Default | Description |
| ---------- | ------------ | ------------------------------------------------------ |
| ---------- | ------------ | ----------------------------------------------------- |
| `symbol` | `"🐘 "` | The symbol used before displaying the version of PHP. |
| `style` | `"bold red"` | The style for the module. |
| `disabled` | `false` | Disables the `php` module. |