Updated README.md

This commit is contained in:
Sebastian Gniazdowski 2016-10-12 16:30:44 +02:00
parent 3dec932aa9
commit b2468b2d99

View file

@ -93,7 +93,13 @@ It has keys like `reserved-word`, `alias`, `command`, `path`, 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
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.
of `hsmw-highlight` file. Example `~/.zshrc` addition that sets `path` key
paths will be highlighted with background magenta, foreground white, bold:
```zsh
typeset -gA HSMW_HIGHLIGHT_STYLES
HSMW_HIGHLIGHT_STYLES[path]="bg=magenta,fg=white,bold"
```
## IRC Channel