docs: update advanced-config docs with zsh prompt indent instructions (#7447)

This commit is contained in:
Swayam Rohit Gavankar
2026-05-22 23:21:50 +05:30
committed by GitHub
parent 0d8ca602ad
commit 05ee20141e
+6
View File
@@ -315,6 +315,12 @@ Produces a prompt like the following:
▶ 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
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).