'main': Expand aliases first. (Issue #264.)

This commit causes an alias to an invalid command to be highlighted as an error
(unknown-token).
This commit is contained in:
Daniel Shahaf
2016-07-28 08:16:22 +00:00
committed by Daniel Shahaf
parent ff61a496b5
commit 77fe96772e
4 changed files with 109 additions and 10 deletions

View File

@@ -27,7 +27,7 @@
# vim: ft=zsh sw=2 ts=2 et
# -------------------------------------------------------------------------------------------------
alias a=A
alias a=:
f() {}
BUFFER='a;f;'