mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 21:58:00 +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`
|
- `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…
Reference in New Issue
Block a user