Hook into completion system for finer highlighting #10

nicoulaj opened this Issue Dec 30, 2010 · 3 comments


None yet

4 participants


For example, for highlighting in red if a directory is expected but a file was given, etc.

This would avoid having the ZSH_HIGHLIGHT_TOKENS_FOLLOWED_BY_COMMANDS array.

All we have to do is to get the tag used for the part of the command, using _complete_help for example. Styles would then be declared per tag, allowing deep customization of the highlighting à la zstyle.

bjeanes commented Oct 25, 2011






Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment