Browse Source

Add zstyle option to disable zsh option CORRECT

master
monai 6 years ago committed by Kaleb Elwert
parent
commit
3ae7e0d051
  1. 6
      modules/utility/README.md
  2. 2
      modules/utility/init.zsh

6
modules/utility/README.md

@ -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`

2
modules/utility/init.zsh

@ -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…
Cancel
Save