Skip to content

Commit 03fe775

Browse files
authored
Update @str-parse-json
1 parent d609dcb commit 03fe775

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

functions/@str-parse-json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# Will result in:
3636
#
3737
# local -A Strings
38-
# Strings[1/1]='zplugin-ices'
38+
# Strings[1/1]='zi-ices'
3939
# Strings[2/1]='default bgn'
4040
# Strings[3/1]='wait 1 lucid \ as program pick fzy make \ '
4141
# Strings[3/2]='wait 1 lucid \ as null make \ sbin fzy\;contrib/fzy-\*'
@@ -44,7 +44,7 @@
4444
# position, you can do:
4545
#
4646
# local -A Strings
47-
# @str-parse-json "$json" "zplugin-ices" Strings
47+
# @str-parse-json "$json" "zi-ices" Strings
4848
#
4949
# integer pos
5050
# pos=${${(@Q)${(@z)Strings[2/1]}}[(I)bgn]}
@@ -168,4 +168,4 @@
168168
if (( __nest == 2 )) {
169169
: ${(PAA)__varname::="${(kv)__Strings[@]}"}
170170
}
171-
}
171+
}

0 commit comments

Comments
 (0)