mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Highlight redirections.
Fixes zsh-users/zsh-syntax-highlighting#23. * danielsh/i23-highlight-redirections: Highlight redirections.
This commit is contained in:
commit
4ec821b2b1
3 changed files with 43 additions and 1 deletions
|
|
@ -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`:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue