Add a configuration option to disable autocorrect
This commit is contained in:
parent
d05b2010ff
commit
682961e930
@ -1,3 +1,6 @@
|
|||||||
|
if [[ "$DISABLE_CORRECTION" == "true" ]]; then
|
||||||
|
return
|
||||||
|
else
|
||||||
setopt correct_all
|
setopt correct_all
|
||||||
|
|
||||||
alias man='nocorrect man'
|
alias man='nocorrect man'
|
||||||
@ -8,3 +11,4 @@ alias gist='nocorrect gist'
|
|||||||
alias heroku='nocorrect heroku'
|
alias heroku='nocorrect heroku'
|
||||||
alias ebuild='nocorrect ebuild'
|
alias ebuild='nocorrect ebuild'
|
||||||
alias hpodder='nocorrect hpodder'
|
alias hpodder='nocorrect hpodder'
|
||||||
|
fi
|
||||||
|
@ -23,6 +23,9 @@ ZSH_THEME="robbyrussell"
|
|||||||
# Uncomment following line if you want to disable autosetting terminal title.
|
# Uncomment following line if you want to disable autosetting terminal title.
|
||||||
# DISABLE_AUTO_TITLE="true"
|
# DISABLE_AUTO_TITLE="true"
|
||||||
|
|
||||||
|
# Uncomment following line if you want to disable command autocorrection
|
||||||
|
# DISABLE_CORRECTION="true"
|
||||||
|
|
||||||
# Uncomment following line if you want red dots to be displayed while waiting for completion
|
# Uncomment following line if you want red dots to be displayed while waiting for completion
|
||||||
# COMPLETION_WAITING_DOTS="true"
|
# COMPLETION_WAITING_DOTS="true"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user