From 7d3ec45249237b2784e70dc1e21cf43e8f52b45e Mon Sep 17 00:00:00 2001 From: Thomas Broadley Date: Sat, 26 May 2018 09:39:25 -0400 Subject: [PATCH] docs: fix typos --- README.md | 4 ++-- docs/highlighters/main.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index decb30b..08af2b6 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,8 @@ zsh-syntax-highlighting [![Build Status][build-status-image]][build-status-travi [fish]: http://www.fishshell.com/ [zsh]: http://www.zsh.org/ -This package provides syntax highlighing for the shell zsh. It enables -highlighing of commands whilst they are typed at a zsh prompt into an +This package provides syntax highlighting for the shell zsh. It enables +highlighting of commands whilst they are typed at a zsh prompt into an interactive terminal. This helps in reviewing commands before running them, particularly in catching syntax errors. diff --git a/docs/highlighters/main.md b/docs/highlighters/main.md index 9ecf042..c14b32f 100644 --- a/docs/highlighters/main.md +++ b/docs/highlighters/main.md @@ -49,7 +49,7 @@ This highlighter defines the following styles: * `assign` - parameter assignments (`x=foo` and `x=( )`) * `redirection` - redirection operators (`<`, `>`, etc) * `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 To override one of those styles, change its entry in `ZSH_HIGHLIGHT_STYLES`,