prompt bug fix

This commit is contained in:
2026-10-13 14:35:00 +02:00
parent 9e96aaa411
commit afe1a1b610
5 changed files with 358 additions and 239 deletions
+5
View File
@@ -396,6 +396,11 @@ PROMPT_COLOR_USER_FG = $ICyan
PROMPT_COLOR_DIR_FG = $IYellow
```
A value is one or more blocks, each a colour variable (`$ICyan`, `${ICyan}`) or a
raw ANSI literal (`\e[1;32m`, `\033[4m`), e.g. `$BWhite\e[4m`; anything else is
rejected with a warning (colours end up in `PS1`). These overrides always win over
the theme, also after `set_theme`.
The twelve available `PROMPT_COLOR_*` keys are:
| Key | Role |