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:
parent
2cc7df757b
commit
f4cdf0e0eb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue