From 8d5afe47f774edf7f71b68b63acddedc5cf5e946 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 1 Dec 2016 09:06:32 +0000 Subject: [PATCH] driver: Be immune to 'alias' having been redefined. --- 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 b1e3fbb..fff47d1 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -28,7 +28,7 @@ # ------------------------------------------------------------------------------------------------- # First of all, ensure predictable parsing. -zsh_highlight__aliases=`alias -L` +zsh_highlight__aliases=`builtin alias -L` builtin unalias -m '*' # Set $0 to the expected value, regardless of functionargzero.