mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-01 01:04:00 +00:00
docs: use literal toml strings in continuation_prompt
docs (#4794)
This commit is contained in:
parent
fcdf2a0fb6
commit
5012f7a4c2
@ -285,7 +285,7 @@ Produces a prompt like the following:
|
|||||||
|
|
||||||
Some shells support a continuation prompt along with the normal prompt. This prompt is rendered instead of the normal prompt when the user has entered an incomplete statement (such as a single left parenthesis or quote).
|
Some shells support a continuation prompt along with the normal prompt. This prompt is rendered instead of the normal prompt when the user has entered an incomplete statement (such as a single left parenthesis or quote).
|
||||||
|
|
||||||
Starship can set the continuation prompt using the `continuation_prompt` option. The default prompt is `"[∙](bright-black) "`.
|
Starship can set the continuation prompt using the `continuation_prompt` option. The default prompt is `'[∙](bright-black) '`.
|
||||||
|
|
||||||
Note: `continuation_prompt` should be set to a literal string without any variables.
|
Note: `continuation_prompt` should be set to a literal string without any variables.
|
||||||
|
|
||||||
@ -301,7 +301,7 @@ Note: Continuation prompts are only available in the following shells:
|
|||||||
# ~/.config/starship.toml
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
# A continuation prompt that displays two filled in arrows
|
# A continuation prompt that displays two filled in arrows
|
||||||
continuation_prompt = "▶▶"
|
continuation_prompt = '▶▶ '
|
||||||
```
|
```
|
||||||
|
|
||||||
## Style Strings
|
## Style Strings
|
||||||
|
Loading…
Reference in New Issue
Block a user