1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-18 03:40:08 +00:00

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 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 current_dir="%B%{$fg[blue]%}%~ %{$reset_color%}"