diff --git a/highlighters/main/main-highlighter.zsh b/highlighters/main/main-highlighter.zsh index 5016f38..6298fd5 100644 --- a/highlighters/main/main-highlighter.zsh +++ b/highlighters/main/main-highlighter.zsh @@ -456,8 +456,7 @@ _zsh_highlight_highlighter_main_paint() () { # TODO: path expansion should happen _after_ alias expansion _zsh_highlight_main_highlighter_expand_path $arg - local expanded_arg="$REPLY" - _zsh_highlight_main__type ${expanded_arg} + _zsh_highlight_main__type "$REPLY" } local res="$REPLY" if [[ $res == "alias" ]]; then