Highlight redirections.

Fixes zsh-users/zsh-syntax-highlighting#23.

* danielsh/i23-highlight-redirections:
  Highlight redirections.
This commit is contained in:
Daniel Shahaf
2015-09-26 17:58:07 +00:00
3 changed files with 43 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ This highlighter defines the following styles:
* `back-double-quoted-argument` - back double quoted arguments (\x inside "")
* `back-dollar-quoted-argument` - back dollar 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`: