We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c27470a commit 5fd2ae8Copy full SHA for 5fd2ae8
highlighters/main/main-highlighter.zsh
@@ -641,6 +641,9 @@ _zsh_highlight_main_highlighter_highlight_list()
641
else
642
_zsh_highlight_main_highlighter_expand_path $arg
643
if [[ $arg != $REPLY ]]; then
644
+ # TODO: Is this right? Shouldn't we simply check whether it's
645
+ # executable? It's not just aliases and reserved words that aren't
646
+ # considered here; builtins should likewise be excluded.
647
_zsh_highlight_main__type "$REPLY" 0 0
648
res="$REPLY"
649
fi
0 commit comments