1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-26 00:41:57 +00:00

fix POWERLEVEL9K_DIR_CLASSES

This commit is contained in:
romkatv 2019-07-29 12:38:47 +02:00
parent 2cc7df757b
commit f4cdf0e0eb

View file

@ -4165,8 +4165,8 @@ _p9k_init() {
if _p9k_segment_in_use dir; then
if (( $+_POWERLEVEL9K_DIR_CLASSES )); then
local -i i=0
for ((; i <= $#_POWERLEVEL9K_DIR_CLASSES; ++i)); do
local -i i=3
for ((; i <= $#_POWERLEVEL9K_DIR_CLASSES; i+=3)); do
_POWERLEVEL9K_DIR_CLASSES[i]=${(g::)_POWERLEVEL9K_DIR_CLASSES[i]}
done
else