'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 if (( $+aliases[(e)$1] )); then
may_cache=0 may_cache=0
fi fi
if false && (( ${+galiases[(e)$1]} )); then if (( ${+galiases[(e)$1]} )); then
REPLY='global alias' REPLY='global alias'
elif (( $+aliases[(e)$1] )) && (( aliases_allowed )); then elif (( $+aliases[(e)$1] )) && (( aliases_allowed )); then
REPLY=alias REPLY=alias