Add some phrases for readability and clarity

This commit is contained in:
Nuri Jung 2020-07-03 15:19:38 +09:00 committed by GitHub
parent 471b46312f
commit e2aba7974e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,12 +15,13 @@ typeset -A ZSH_HIGHLIGHT_REGEXP
ZSH_HIGHLIGHT_REGEXP+=('^rm .*' fg="red",bold)
```
This will highlight the whole line starting with `rm` (for all operating systems,
in contrast to the below example).
This will highlight the whole line starting with `rm` command (for all
operating systems, in contrast to the below example).
Some regex patterns are [subject to the host platform][MAN_ZSH_REGEX], especially
the kernel. To highlight `sudo` only as a complete word, i.e., `sudo cmd`, but
not `sudoedit`:
Some regular expressions are [subject to the host platform][MAN_ZSH_REGEX],
especially the kernel. To highlight `sudo` only as a complete word, i.e.,
`sudo cmd`, but not `sudoedit`, the respective regular expressions for the host
systems would be:
* GNU-Linux