From 414ca22cad66eb4cca92a6e2f912a7a4628bbdfd Mon Sep 17 00:00:00 2001 From: romkatv Date: Sun, 9 Jun 2019 09:19:31 +0200 Subject: [PATCH] minor cleanup --- internal/p10k.zsh | 4 +--- 1 file changed, 1 insertion(+), 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=""