aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-xinternal/p10k.zsh4
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index a95e9a07..751bf756 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -1685,9 +1685,7 @@ function _p9k_vcs_style() {
_P9K_RETVAL=""
return
fi
- if [[ $color == <-> ]]; then
- color=${(l:3::0:)color}
- else
+ if [[ $color != <-> ]]; then
color=$__P9K_COLORS[${${${color#bg-}#fg-}#br}]
if [[ -z $color ]]; then
_P9K_RETVAL=""