mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-29 06:40:08 +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 _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…
Reference in a new issue