mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
docs: update advanced-config docs with zsh prompt indent instructions (#7447)
This commit is contained in:
committed by
GitHub
parent
0d8ca602ad
commit
05ee20141e
@@ -315,6 +315,12 @@ Produces a prompt like the following:
|
|||||||
▶ starship on rprompt [!] is 📦 v0.57.0 via 🦀 v1.54.0 took 17s
|
▶ starship on rprompt [!] is 📦 v0.57.0 via 🦀 v1.54.0 took 17s
|
||||||
```
|
```
|
||||||
|
|
||||||
|
When using `zsh` (v5.0.5+), the shell adds a default trailing space to the right prompt. This can cause alignment issues specifically when using the Starship `$fill` module. To remove this gap, add the following to your `.zshrc`:
|
||||||
|
|
||||||
|
```zsh
|
||||||
|
ZLE_RPROMPT_INDENT=0
|
||||||
|
```
|
||||||
|
|
||||||
## Continuation Prompt
|
## Continuation Prompt
|
||||||
|
|
||||||
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).
|
||||||
|
|||||||
Reference in New Issue
Block a user