'main': First stab at not considering escaped aliases to be aliases.

This commit is contained in:
Daniel Shahaf 2018-10-10 10:46:56 +00:00
commit 4c5d44d5e4
2 changed files with 41 additions and 0 deletions

View file

@ -553,6 +553,9 @@ _zsh_highlight_main_highlighter_highlight_list()
else
_zsh_highlight_main_highlighter_expand_path $arg
local expanded_arg="$REPLY"
if [[ $arg != $expanded_arg ]]; then
this_word=${this_word//:alias:/}
fi
_zsh_highlight_main__type ${expanded_arg}
local res="$REPLY"
() {