mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-21 19:03:11 +00:00
Updated README.md
This commit is contained in:
parent
a9e10d0732
commit
6763e91914
1 changed files with 2 additions and 2 deletions
|
@ -151,9 +151,9 @@ zstyle ":plugin:history-search-multi-word" clear-on-cancel "no" # Whether
|
||||||
## Syntax highlighting
|
## Syntax highlighting
|
||||||
|
|
||||||
Syntax highlighting is customized via `HSMW_HIGHLIGHT_STYLES` associative array.
|
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
|
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 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 –
|
of `hsmw-highlight` file. Example `~/.zshrc` addition that sets `path` key –
|
||||||
paths that exist will be highlighted with background magenta, foreground white, bold:
|
paths that exist will be highlighted with background magenta, foreground white, bold:
|
||||||
|
|
Loading…
Reference in a new issue