浏览代码

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

pull/702/merge
Daniel Shahaf 4 年前
父节点
当前提交
cfef4f3ae0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      highlighters/main/main-highlighter.zsh

+ 1
- 1
highlighters/main/main-highlighter.zsh 查看文件

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

正在加载...
取消
保存