fix POWERLEVEL9K_DIR_CLASSES

pull/141/head
romkatv 5 years ago
parent 2cc7df757b
commit f4cdf0e0eb

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

Loading…
Cancel
Save