1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-03-05 11:47:41 +08:00

fix(gentoo): fix tab color completion ()

This commit fixes an issue in the gentoo theme introduced in 3bb5e977.
Due to incorrect line width calculations, colors are incorrectly applied
when using tab.

Fixes 

Signed-off-by: Thomas De Backer <mosterdt@debacker.me>
This commit is contained in:
Thomas De Backer 2021-04-11 19:40:27 +02:00 committed by GitHub
parent e9f805a3ca
commit 12669f29f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,4 +25,4 @@ gentoo_precmd() {
autoload -U add-zsh-hook
add-zsh-hook precmd gentoo_precmd
PROMPT='%(!.%B%F{red}.%B%F{green}%n@)%m %F{blue}%(!.%1~.%~) ${vcs_info_msg_0_}%(!.#.$)%{$reset_color%} '
PROMPT='%(!.%B%F{red}.%B%F{green}%n@)%m %F{blue}%(!.%1~.%~) ${vcs_info_msg_0_}%(!.#.$)%k%b%f '