diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-01-11 21:25:20 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-01-11 21:25:20 +0300 |
commit | efe0e7943635b500248b7b6f4b5e0507b51a21b7 (patch) | |
tree | 1f3bc2c19e7b9f974780c6f9a20c6ee703e9a3c7 /internal/p10k.zsh | |
parent | 8380cee319c82919e1b25452f4b875f49596e2ac (diff) |
don't array-expand unnecessarily
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r-- | internal/p10k.zsh | 2 |
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 |