Add zstyle option to disable zsh option CORRECT
This commit is contained in:
parent
5d7c990eec
commit
b8d7e2cad8
2 changed files with 9 additions and 1 deletions
|
@ -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`
|
||||||
|
|
|
@ -11,7 +11,9 @@
|
||||||
pmodload 'helper' 'spectrum'
|
pmodload 'helper' 'spectrum'
|
||||||
|
|
||||||
# Correct commands.
|
# Correct commands.
|
||||||
|
if zstyle -T ':prezto:module:utility' correct; then
|
||||||
setopt CORRECT
|
setopt CORRECT
|
||||||
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# Aliases
|
# Aliases
|
||||||
|
|
Loading…
Add table
Reference in a new issue