Daniel Shahaf c30301d474 | před 9 roky | |
---|---|---|
.. | ||
README.md | před 10 roky | |
line-highlighter.zsh | před 9 roky |
This is the line highlighter, that highlights the whole line.
To activate it, add it to ZSH_HIGHLIGHT_HIGHLIGHTERS
:
ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] line)
This highlighter defines the following styles:
line
- the style for the whole lineTo override one of those styles, change its entry in ZSH_HIGHLIGHT_STYLES
, for example in ~/.zshrc
:
ZSH_HIGHLIGHT_STYLES[line]='bold'
The syntax for declaring styles is documented here.