mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-12 19:18:28 +02:00
make it work in ZSH 5.1
This commit is contained in:
parent
00a070d5db
commit
1ed5c3f177
@ -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 New Issue
Block a user