mirror of
https://github.com/starship/starship.git
synced 2024-11-22 16:23:17 +01: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).
|
||||
|
||||
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.
|
||||
|
||||
@ -301,7 +301,7 @@ Note: Continuation prompts are only available in the following shells:
|
||||
# ~/.config/starship.toml
|
||||
|
||||
# A continuation prompt that displays two filled in arrows
|
||||
continuation_prompt = "▶▶"
|
||||
continuation_prompt = '▶▶ '
|
||||
```
|
||||
|
||||
## Style Strings
|
||||
|
Loading…
Reference in New Issue
Block a user