From 15132eeaed90d9f176e3197db79424ed99003a1e Mon Sep 17 00:00:00 2001 From: bagnaram <11695670+bagnaram@users.noreply.github.com> Date: Mon, 26 Jul 2021 13:55:27 -0500 Subject: [PATCH] Update zsh-syntax-highlighting.zsh fix regex to not match all --- zsh-syntax-highlighting.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh index d20dc5b..59fd253 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -33,7 +33,7 @@ typeset zsh_highlight__aliases="$(builtin alias -Lm '[^+]*')" # are emitted by `alias -L` without a '--' guard, so they don't round trip. # # Hence, we exclude them from unaliasing: -builtin unalias -m '[^+]*' +builtin unalias -m '^+.*' # Set $0 to the expected value, regardless of functionargzero. 0=${(%):-%N}