mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-11 22:02:31 +01:00
'main': First stab at not considering escaped aliases to be aliases.
This commit is contained in:
parent
c736908026
commit
4c5d44d5e4
2 changed files with 41 additions and 0 deletions
|
|
@ -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"
|
||||
() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue