diff --git a/highlighters/main/test-data/alias.zsh b/highlighters/main/test-data/alias.zsh index 7ff5f35..3397d06 100644 --- a/highlighters/main/test-data/alias.zsh +++ b/highlighters/main/test-data/alias.zsh @@ -30,6 +30,7 @@ alias alias1="unused expansion" alias -s alias2="echo" +alias1() {} # to check that it's highlighted as an alias, not as a function ZSH_HIGHLIGHT_STYLES[alias]=$unused_highlight BUFFER='x.alias2; alias1'