mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-30 00:34:42 +00:00
minor cleanup
This commit is contained in:
+1
-3
@@ -1685,9 +1685,7 @@ function _p9k_vcs_style() {
|
|||||||
_P9K_RETVAL=""
|
_P9K_RETVAL=""
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
if [[ $color == <-> ]]; then
|
if [[ $color != <-> ]]; then
|
||||||
color=${(l:3::0:)color}
|
|
||||||
else
|
|
||||||
color=$__P9K_COLORS[${${${color#bg-}#fg-}#br}]
|
color=$__P9K_COLORS[${${${color#bg-}#fg-}#br}]
|
||||||
if [[ -z $color ]]; then
|
if [[ -z $color ]]; then
|
||||||
_P9K_RETVAL=""
|
_P9K_RETVAL=""
|
||||||
|
|||||||
Reference in New Issue
Block a user