Highlight redirections.

Fixes zsh-users/zsh-syntax-highlighting#23.
This commit is contained in:
Daniel Shahaf
2015-09-25 12:39:06 +00:00
parent 86cd337446
commit 040df93c01
3 changed files with 43 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ This highlighter defines the following styles:
* `dollar-double-quoted-argument` - dollar double quoted arguments ($foo inside "")
* `back-double-quoted-argument` - back double quoted arguments (\x inside "")
* `assign` - variable assignments
* `redirection` - redirection operators (`<`, `>`, etc)
* `default` - parts of the buffer that do not match anything
To override one of those styles, change its entry in `ZSH_HIGHLIGHT_STYLES`, for example in `~/.zshrc`: