mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-24 20:33:04 +00:00
Updated README.md
This commit is contained in:
parent
3dec932aa9
commit
b2468b2d99
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue