summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-01-11 21:25:20 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-01-11 21:25:20 +0300
commitefe0e7943635b500248b7b6f4b5e0507b51a21b7 (patch)
tree1f3bc2c19e7b9f974780c6f9a20c6ee703e9a3c7 /internal
parent8380cee319c82919e1b25452f4b875f49596e2ac (diff)
don't array-expand unnecessarily
Diffstat (limited to 'internal')
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 969fd241..34e28382 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -5469,7 +5469,7 @@ function _p9k_parse_buffer() {
if [[ $token == *'$'* ]]; then
if [[ $token == $~var ]]; then
n=${${token##[^[:IDENT:]]}%%[^[:IDENT:]]}
- [[ $token == *'"' ]] && v=("${(@P)n}") || v=(${(P)n})
+ [[ $token == *'"' ]] && v=("${(P)n}") || v=(${(P)n})
tokens[1,0]=(${(qq)v})
continue
fi