mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-19 05:51:57 +00:00
Fix joining segments
This commit is contained in:
parent
9e191d4305
commit
e9da3d5146
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ function getRelevantItem() {
|
|||
local -a list
|
||||
local callback
|
||||
# Explicitly split the elements by whitespace.
|
||||
list=${=1}
|
||||
list=(${=1})
|
||||
callback=$2
|
||||
|
||||
for item in $list; do
|
||||
|
@ -146,7 +146,7 @@ function segmentShouldBeJoined() {
|
|||
local last_segment_index=$2
|
||||
# Explicitly split the elements by whitespace.
|
||||
local -a elements
|
||||
elements=${=3}
|
||||
elements=(${=3})
|
||||
|
||||
local current_segment=${elements[$current_index]}
|
||||
local joined=false
|
||||
|
|
Loading…
Reference in a new issue