We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d76c0b commit f284041Copy full SHA for f284041
highlighters/main/main-highlighter.zsh
@@ -180,9 +180,9 @@ _zsh_highlight_main__type() {
180
if (( $+aliases[(e)$1] )); then
181
may_cache=0
182
fi
183
- if (( ${+galiases[(e)$1]} )) && (( aliases_allowed )); then
+ if (( aliases_allowed )) && (( ${+galiases[(e)$1]} )); then
184
REPLY='global alias'
185
- elif (( $+aliases[(e)$1] )) && (( aliases_allowed )); then
+ elif (( aliases_allowed )) && (( $+aliases[(e)$1] )) &&; then
186
REPLY=alias
187
elif [[ $1 == *.* && -n ${1%.*} ]] && (( $+saliases[(e)${1##*.}] )); then
188
REPLY='suffix alias'
0 commit comments