mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
docs copyedit: Rewrap to 80 columns, part 2.
This commit is contained in:
parent
3bedd8571e
commit
3f163a2fd4
9 changed files with 37 additions and 21 deletions
|
|
@ -1,7 +1,8 @@
|
|||
zsh-syntax-highlighting / highlighters / root
|
||||
=============================================
|
||||
|
||||
This is the `root` highlighter, that highlights the whole line if the current user is root.
|
||||
This is the `root` highlighter, that highlights the whole line if the current
|
||||
user is root.
|
||||
|
||||
|
||||
How to activate it
|
||||
|
|
@ -19,7 +20,8 @@ This highlighter defines the following styles:
|
|||
|
||||
* `root` - the style for the whole line if the current user is root.
|
||||
|
||||
To override one of those styles, change its entry in `ZSH_HIGHLIGHT_STYLES`, for example in `~/.zshrc`:
|
||||
To override one of those styles, change its entry in `ZSH_HIGHLIGHT_STYLES`,
|
||||
for example in `~/.zshrc`:
|
||||
|
||||
ZSH_HIGHLIGHT_STYLES[root]='bg=red'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue