From 84f01d5cb3b40c18dc16fb3e0cf658c24f478af6 Mon Sep 17 00:00:00 2001 From: romkatv Date: Sat, 11 Jan 2020 19:26:04 +0100 Subject: [PATCH] don't array-expand unnecessarily --- internal/parse.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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