1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-01 01:04:00 +00:00

docs: Add detail to the truncation_length description

This commit is contained in:
Matan Kushner 2019-07-28 23:18:24 -04:00
parent 409efd9caa
commit 6cfc6ac5bb
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4

View File

@ -46,9 +46,9 @@ This is the list of prompt-wide configuration options.
### Options
| Variable | Default | Description |
| ------------- | ------- | --------------------------------------------- |
| `add_newline` | `true` | Add a new line before the start of the prompt |
| Variable | Default | Description |
| ------------- | ------- | ---------------------------------------------- |
| `add_newline` | `true` | Add a new line before the start of the prompt. |
### Example
@ -117,10 +117,10 @@ git repo that you're currently in.
### Options
| Variable | Default | Description |
| ------------------- | ------- | -------------------------------------- |
| `truncation_length` | `3` | Truncates to this many parent folders. |
| `disabled` | `false` | Disables the `directory` module. |
| Variable | Default | Description |
| ------------------- | ------- | ------------------------------------------------------------------------------- |
| `truncation_length` | `3` | The number of parent folders that the current directory should be truncated to. |
| `disabled` | `false` | Disables the `directory` module. |
### Example