fix(bira): fix color bleed in user_host prompt section (#10505)

Fixes #10505
This commit is contained in:
Marc Cornellà 2021-12-13 14:42:57 +01:00
parent a94e263426
commit 1b01496c21
No known key found for this signature in database
GPG key ID: 0314585E776A9C1B

View file

@ -1,5 +1,5 @@
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
local user_host="%B%(!.%F{red}.%F{green})%n@%m %{$reset_color%}" local user_host="%B%(!.%{$fg[red]%}.%{$fg[green]%})%n@%m%{$reset_color%} "
local user_symbol='%(!.#.$)' local user_symbol='%(!.#.$)'
local current_dir="%B%{$fg[blue]%}%~ %{$reset_color%}" local current_dir="%B%{$fg[blue]%}%~ %{$reset_color%}"