aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-05-10 07:54:43 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-05-10 07:54:43 +0300
commita238426d9789431e2d453f66d4c3d9a371254867 (patch)
treee9f5091cb2e648423959ad35d04fb6ff0dae34ef /internal/p10k.zsh
parent22396b86f34f8d526479ac6d8b30e0ab2b8be9aa (diff)
bug fix: preserve empty array elements in _p9k_declare (see #678)
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 3892109a..04aee108 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -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