mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 12:20:07 +00:00
bug fix: preserve empty array elements in _p9k_declare (see #678)
This commit is contained in:
parent
22396b86f3
commit
a238426d97
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ function _p9k_declare() {
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
-a)
|
-a)
|
||||||
local -a v=(${(P)2})
|
local -a v=("${(@P)2}")
|
||||||
if (( set )); then
|
if (( set )); then
|
||||||
eval "typeset -ga _${(q)2}=(${(@qq)v})";
|
eval "typeset -ga _${(q)2}=(${(@qq)v})";
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue