1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 16:18:00 +00:00

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` - `mysql`
- `rm` - `rm`
To disable all spelling corrections, add the following line to *zpreztorc*:
```sh
zstyle ':prezto:module:utility' correct 'no'
```
### Disabled File Globbing ### Disabled File Globbing
- `bower` - `bower`

View File

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