diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-03-16 11:14:57 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-03-16 11:14:57 +0300 |
commit | 48a61471a7f257787332714b2f6a16e9ec04174d (patch) | |
tree | 8b0e846db762462da4e179c45b8abae5f3e2879b /internal | |
parent | d53355cd30acf8888bc1cf5caccea52f486c5584 (diff) |
parser bug fix: quote array elements after parameter expansion
Diffstat (limited to 'internal')
-rw-r--r-- | internal/parser.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/parser.zsh b/internal/parser.zsh index a0e5e58e..dc2082de 100644 --- a/internal/parser.zsh +++ b/internal/parser.zsh @@ -296,7 +296,7 @@ function _p9k_parse_buffer() { if [[ $token == $~var ]]; then n=${${token##[^[:IDENT:]]}%%[^[:IDENT:]]} [[ $token == *'"' ]] && v=("${(P)n}") || v=(${(P)n}) - tokens[1,0]=(${(qq)v}) + tokens[1,0]=(${(@qq)v}) continue fi fi |