docs: fix typos

This commit is contained in:
Thomas Broadley 2018-05-26 09:39:25 -04:00
parent 5b539663c0
commit 7d3ec45249
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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`,