diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-01-11 21:26:04 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-01-11 21:26:04 +0300 |
commit | 84f01d5cb3b40c18dc16fb3e0cf658c24f478af6 (patch) | |
tree | d8b88cd3c82be5d96d76e42e2c2072aafbf4ee29 /internal | |
parent | efe0e7943635b500248b7b6f4b5e0507b51a21b7 (diff) |
don't array-expand unnecessarily
Diffstat (limited to 'internal')
-rw-r--r-- | internal/parse.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/parse.zsh b/internal/parse.zsh index fda2a36b..6e3c5feb 100644 --- a/internal/parse.zsh +++ b/internal/parse.zsh @@ -230,7 +230,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 |