Julien Nicoulaud 11de634b33 | pirms 13 gadiem | |
---|---|---|
.. | ||
README.md | pirms 13 gadiem | |
cursor-highlighter.zsh | pirms 13 gadiem |
This is the cursor highlighter, that highlights the cursor.
To activate it, add it to ZSH_HIGHLIGHT_HIGHLIGHTERS
:
ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] cursor)
This highlighter defines the following styles:
cursor
- the style for the current cursor positionTo override one of those styles, change its entry in ZSH_HIGHLIGHT_STYLES
, for example in ~/.zshrc
:
ZSH_HIGHLIGHT_STYLES[cursor]='bg=blue'
The syntax for declaring styles is documented here.