diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-07-17 00:47:59 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-07-17 00:47:59 +0300 |
commit | 1ed5c3f17767c10be45b393ab2e66fda6bc6f9c4 (patch) | |
tree | c159dd4d4e70e20e4b65c5673c2c427c9ff0df41 /internal/p10k.zsh | |
parent | 00a070d5db4cb9f7add6a8c8ae62d6223d8a0109 (diff) |
make it work in ZSH 5.1
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-x | internal/p10k.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index bac6f28b..7180e2d0 100755 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -2834,7 +2834,7 @@ _p9k_init_lines() { local -i num_lines=num_left_lines fi - repeat num_lines; do + repeat $num_lines; do local -i left_end=${left_segments[(i)newline]} local -i right_end=${right_segments[(i)newline]} _P9K_LINE_SEGMENTS_LEFT+="${(pj:\0:)left_segments[1,left_end-1]}" |