From 0782a574269c19f31210b1fdef5a2268c5376353 Mon Sep 17 00:00:00 2001 From: MenkeTechnologies Date: Tue, 28 Dec 2021 13:20:06 -0500 Subject: [PATCH] add emulate -L zsh --- zpwrExpandLib.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zpwrExpandLib.zsh b/zpwrExpandLib.zsh index 721b3fe..4548692 100755 --- a/zpwrExpandLib.zsh +++ b/zpwrExpandLib.zsh @@ -262,6 +262,9 @@ function zpwrExpandRegexMatchOnCommandPosition() { #************************************************************** function zpwrExpandSupernaturalSpace() { + 'builtin' emulate -L zsh + setopt rcquotes extended_glob zle + local tempBuffer mywords badWords word nextWord i shouldStopExpansionDueToFailedRegex words ary res1 aliasOut if [[ $ZPWR_TRACE == true ]]; then