Ver código fonte

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

pull/702/merge
Daniel Shahaf 4 anos atrás
pai
commit
cfef4f3ae0
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      highlighters/main/main-highlighter.zsh

+ 1
- 1
highlighters/main/main-highlighter.zsh Ver arquivo

@ -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

Carregando…
Cancelar
Salvar