Updated README.md

This commit is contained in:
Sebastian Gniazdowski 2018-01-05 16:24:46 +01:00
parent a9e10d0732
commit 6763e91914

View file

@ -151,9 +151,9 @@ zstyle ":plugin:history-search-multi-word" clear-on-cancel "no" # Whether
## Syntax highlighting
Syntax highlighting is customized via `HSMW_HIGHLIGHT_STYLES` associative array.
It has keys like `reserved-word`, `alias`, `command`, `path`, which are assigned
It has keys like `reserved-word`, `alias`, `command`, `path`, etc. which are assigned
with strings like `fg=blue,bold`, to configure how given elements are to be
colored. If you assign this array before loading `hsmw` you will change the defaults. Complete list
colored. If you assign this array before or after loading `hsmw` you will change the defaults. Complete list
of available keys is [at the beginning](https://github.com/psprint/history-search-multi-word/blob/master/hsmw-highlight#L34-L62)
of `hsmw-highlight` file. Example `~/.zshrc` addition that sets `path` key
paths that exist will be highlighted with background magenta, foreground white, bold: