mirror of
https://github.com/zsh-users/zsh-syntax-highlighting
synced 2024-12-11 22:15:23 +00:00
commit
ee26d44de1
@ -8,8 +8,8 @@ zsh-syntax-highlighting [![Build Status][build-status-image]][build-status-travi
|
|||||||
[fish]: http://www.fishshell.com/
|
[fish]: http://www.fishshell.com/
|
||||||
[zsh]: http://www.zsh.org/
|
[zsh]: http://www.zsh.org/
|
||||||
|
|
||||||
This package provides syntax highlighing for the shell zsh. It enables
|
This package provides syntax highlighting for the shell zsh. It enables
|
||||||
highlighing of commands whilst they are typed at a zsh prompt into an
|
highlighting of commands whilst they are typed at a zsh prompt into an
|
||||||
interactive terminal. This helps in reviewing commands before running
|
interactive terminal. This helps in reviewing commands before running
|
||||||
them, particularly in catching syntax errors.
|
them, particularly in catching syntax errors.
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ This highlighter defines the following styles:
|
|||||||
* `assign` - parameter assignments (`x=foo` and `x=( )`)
|
* `assign` - parameter assignments (`x=foo` and `x=( )`)
|
||||||
* `redirection` - redirection operators (`<`, `>`, etc)
|
* `redirection` - redirection operators (`<`, `>`, etc)
|
||||||
* `comment` - comments, when `setopt INTERACTIVE_COMMENTS` is in effect (`echo # foo`)
|
* `comment` - comments, when `setopt INTERACTIVE_COMMENTS` is in effect (`echo # foo`)
|
||||||
* `arg0` - a command word other than one of those enumrated above (other than a command, precommand, alias, function, or shell builtin command).
|
* `arg0` - a command word other than one of those enumerated above (other than a command, precommand, alias, function, or shell builtin command).
|
||||||
* `default` - everything else
|
* `default` - everything else
|
||||||
|
|
||||||
To override one of those styles, change its entry in `ZSH_HIGHLIGHT_STYLES`,
|
To override one of those styles, change its entry in `ZSH_HIGHLIGHT_STYLES`,
|
||||||
|
Loading…
Reference in New Issue
Block a user