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

2
modules/utility/init.zsh

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

Loading…
Cancel
Save