mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 17:28:01 +00:00
Add zstyle option to disable zsh option CORRECT
This commit is contained in:
parent
5d7c990eec
commit
b8d7e2cad8
@ -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`
|
||||
|
@ -11,7 +11,9 @@
|
||||
pmodload 'helper' 'spectrum'
|
||||
|
||||
# Correct commands.
|
||||
setopt CORRECT
|
||||
if zstyle -T ':prezto:module:utility' correct; then
|
||||
setopt CORRECT
|
||||
fi
|
||||
|
||||
#
|
||||
# Aliases
|
||||
|
Loading…
Reference in New Issue
Block a user