No functional change.

Follow-up to 1fee620e62.
This commit is contained in:
Daniel Shahaf 2018-01-12 16:02:41 +00:00 committed by Matthew Martin
parent f7ac43cd49
commit 0709520597

View file

@ -512,11 +512,9 @@ _zsh_highlight_main_highlighter_highlight_list()
# 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