mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10: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
|
||||
;;
|
||||
-a)
|
||||
local -a v=(${(P)2})
|
||||
local -a v=("${(@P)2}")
|
||||
if (( set )); then
|
||||
eval "typeset -ga _${(q)2}=(${(@qq)v})";
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue