From a4a83e1e12c1531b7286566b86c9f64f3a56decf Mon Sep 17 00:00:00 2001 From: MenkeTechnologies Date: Sat, 21 Oct 2023 21:48:57 -0400 Subject: [PATCH] remove accidental default expansion in single quotes --- zpwrExpandApi.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zpwrExpandApi.zsh b/zpwrExpandApi.zsh index fe347d1..ace30b0 100644 --- a/zpwrExpandApi.zsh +++ b/zpwrExpandApi.zsh @@ -94,7 +94,7 @@ function zpwrExpandParseWords(){ #zpwrLogDebug "first word partition before spelling = ...$ZPWR_VARS[firstword_partition]..." #zpwrLogDebug "last word lbuf before spelling = ...$ZPWR_VARS[lastword_lbuffer]..." - lastWordAry=( ${(Az)${ZPWR_VARS[lastword_lbuffer]//[\[\]\{\}\(\)\']/}} ) + lastWordAry=( ${(Az)${ZPWR_VARS[lastword_lbuffer]//[\[\]\{\}\(\)]/}} ) finalWord=${lastWordAry[-1]} ZPWR_VARS[lastword_remove_special]=$finalWord