summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorThomas De Backer <Thomasisdebacker5@gmail.com>2021-04-11 19:40:27 +0200
committerGitHub <noreply@github.com>2021-04-11 19:40:27 +0200
commit12669f29f0843b8b980dd137f150a74511f88842 (patch)
tree9c2ac3dbc22cfcd2bb7b45f8c6787d5584f65707 /themes
parente9f805a3ca87ebe184b0c544b5e656f50deb52e4 (diff)
downloadzsh-12669f29f0843b8b980dd137f150a74511f88842.tar.gz
zsh-12669f29f0843b8b980dd137f150a74511f88842.tar.bz2
zsh-12669f29f0843b8b980dd137f150a74511f88842.zip
fix(gentoo): fix tab color completion (#9810)
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 #9778 Signed-off-by: Thomas De Backer <mosterdt@debacker.me>
Diffstat (limited to 'themes')
-rw-r--r--themes/gentoo.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/gentoo.zsh-theme b/themes/gentoo.zsh-theme
index ae3274022..e18bce890 100644
--- a/themes/gentoo.zsh-theme
+++ b/themes/gentoo.zsh-theme
@@ -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 '