From 6763e919140028aa2dc21ae0c3f9b7d16c2b856c Mon Sep 17 00:00:00 2001 From: Sebastian Gniazdowski Date: Fri, 5 Jan 2018 16:24:46 +0100 Subject: [PATCH] Updated README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e8a0049..757aee9 100644 --- a/README.md +++ b/README.md @@ -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: