'main': Enable the zsh/parameter codepath of global aliases highlighting.

This commit is contained in:
Daniel Shahaf 2020-03-19 05:13:46 +00:00
parent 48dd47931a
commit cfef4f3ae0

View file

@ -180,7 +180,7 @@ _zsh_highlight_main__type() {
if (( $+aliases[(e)$1] )); then
may_cache=0
fi
if false && (( ${+galiases[(e)$1]} )); then
if (( ${+galiases[(e)$1]} )); then
REPLY='global alias'
elif (( $+aliases[(e)$1] )) && (( aliases_allowed )); then
REPLY=alias