aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-29 13:38:47 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-29 13:38:47 +0300
commitf4cdf0e0eb23738b02b23e6129f098113bdf2d9e (patch)
tree7ec85d15f7b56192a7f05cd2ce0186f2fe85c836 /internal
parent2cc7df757bb4980dddaca598649bf44961ce9c74 (diff)
fix POWERLEVEL9K_DIR_CLASSES
Diffstat (limited to 'internal')
-rwxr-xr-xinternal/p10k.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 86d2c242..1af18a15 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -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