mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
make it work in ZSH 5.1
This commit is contained in:
parent
00a070d5db
commit
1ed5c3f177
1 changed files with 1 additions and 1 deletions
|
@ -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]}"
|
||||
|
|
Loading…
Reference in a new issue