mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-02-13 10:05:31 +08:00
parent
34f50d7b4f
commit
a3bc345e54
@ -472,11 +472,9 @@ _zsh_highlight_highlighter_main_paint()
|
||||
# TODO: this should be done iteratively, e.g., 'alias x=y y=z z=w\n x'
|
||||
# And then the entire 'alias' branch of the 'case' statement should
|
||||
# be done here.
|
||||
() {
|
||||
# TODO: path expansion should happen _after_ alias expansion
|
||||
_zsh_highlight_main_highlighter_expand_path $arg
|
||||
_zsh_highlight_main__type "$REPLY"
|
||||
}
|
||||
# TODO: path expansion should happen _after_ alias expansion
|
||||
_zsh_highlight_main_highlighter_expand_path $arg
|
||||
_zsh_highlight_main__type "$REPLY"
|
||||
local res="$REPLY"
|
||||
if [[ $res == "alias" ]]; then
|
||||
_zsh_highlight_main__resolve_alias $arg
|
||||
|
Loading…
Reference in New Issue
Block a user