mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-18 21:41:57 +00:00
minor cleanup
This commit is contained in:
parent
befe57dede
commit
414ca22cad
1 changed files with 1 additions and 3 deletions
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue