Add zstyle option to disable zsh option CORRECT

This commit is contained in:
monai 2019-01-19 12:54:49 +02:00 committed by Kaleb Elwert
parent 5d7c990eec
commit b8d7e2cad8
2 changed files with 9 additions and 1 deletions

View file

@ -62,6 +62,12 @@ Aliases
- `mysql`
- `rm`
To disable all spelling corrections, add the following line to *zpreztorc*:
```sh
zstyle ':prezto:module:utility' correct 'no'
```
### Disabled File Globbing
- `bower`

View file

@ -11,7 +11,9 @@
pmodload 'helper' 'spectrum'
# Correct commands.
setopt CORRECT
if zstyle -T ':prezto:module:utility' correct; then
setopt CORRECT
fi
#
# Aliases