bug fix: preserve empty array elements in _p9k_declare (see #678)

pull/735/head
romkatv 5 years ago
parent 22396b86f3
commit a238426d97

@ -151,7 +151,7 @@ function _p9k_declare() {
fi
;;
-a)
local -a v=(${(P)2})
local -a v=("${(@P)2}")
if (( set )); then
eval "typeset -ga _${(q)2}=(${(@qq)v})";
else

Loading…
Cancel
Save