Apparently ZLE_RPROMPT_INDENT is a bit buggy on several prompts (e.g.
iTerm2, virtual-terminal on linux, etc) since not only the most right
space is removed as intended, but also the cursor is moved on to the
right causing the last character of the prompt to be overwritten.
This causes completion to be rather weird (some characters are
drawn twice and some aren't at all).
Fix: Use %{ .. %} with ${bottom_right_suffix} to tell the terminal the
last symbols have a width of zero -> the most right space will be
overdrawn and thus not shown.
|
||
|---|---|---|
| .. | ||
| aliases.zsh | ||
| checks.zsh | ||
| colors.zsh | ||
| completion.zsh | ||
| general.zsh | ||
| history.zsh | ||
| keybindings.zsh | ||
| prompt.zsh | ||
| setopt.zsh | ||