'main': Let AUTO_CD directories be highlighted with their own style.

This commit is contained in:
Daniel Shahaf
2020-01-12 20:17:59 +00:00
committed by Daniel Shahaf
parent 3f930fb0c1
commit 83ac855ceb
5 changed files with 26 additions and 9 deletions

View File

@@ -27,6 +27,7 @@ This highlighter defines the following styles:
* `precommand` - precommand modifiers (e.g., `noglob`, `builtin`)
* `commandseparator` - command separation tokens (`;`, `&&`)
* `hashed-command` - hashed commands
* `autodirectory` - a directory name in command position when the `AUTO_CD` option is set
* `path` - existing filenames
* `path_pathseparator` - path separators in filenames (`/`); if unset, `path` is used (default)
* `path_prefix` - prefixes of existing filenames