'main': Enable the zsh/parameter codepath of global aliases highlighting.
This commit is contained in:
parent
48dd47931a
commit
cfef4f3ae0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user