mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Check for partial paths separately
It's really annoying to have partial paths appear the same as paths to complete files. However, it is still nice to be able to highlight them. Full paths are now bold while partial paths use plain underline.
This commit is contained in:
parent
e5d8a50d36
commit
0916794aeb
2 changed files with 18 additions and 2 deletions
|
|
@ -31,7 +31,8 @@ This highlighter defines the following styles:
|
|||
* `precommand` - precommands (i.e. exec, builtin, ...)
|
||||
* `commandseparator` - command separation tokens
|
||||
* `hashed-command` - hashed commands
|
||||
* `path` - paths
|
||||
* `path` - paths which exist
|
||||
* `partial-path` - partial paths (prefixes of existing files)
|
||||
* `globbing` - globbing expressions
|
||||
* `history-expansion` - history expansion expressions
|
||||
* `single-hyphen-option` - single hyphen options
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue