4c64cf4a253608022caeda0f83b6ae73b7a8513c

Author
Simon Courtois <scourtois_github@cubyx.fr>
Committer
ncanceill <nicolas.canceill@ens-cachan.org>
Date

Message

Replacing DISABLE_CORRECTION with ENABLE_CORRECTION in zshrc template

Since commands auto-correction must be explicitly enable with
the ENABLE_CORRECTION envvar, this commit replaces the unaccurate
example in the zshrc template.

Diff

 1diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template
 2index 5b2a6cf49bd292b296e59aedc6391ba5f45dc19c..e08c13912ab88bb5a9d765e281bf324d72fd212e 100644
 3--- a/templates/zshrc.zsh-template
 4+++ b/templates/zshrc.zsh-template
 5@@ -26,8 +26,8 @@ ZSH_THEME="robbyrussell"
 6 # Uncomment the following line to disable auto-setting terminal title.
 7 # DISABLE_AUTO_TITLE="true"
 8 
 9-# Uncomment the following line to disable command auto-correction.
10-# DISABLE_CORRECTION="true"
11+# Uncomment the following line to enable command auto-correction.
12+# ENABLE_CORRECTION="true"
13 
14 # Uncomment the following line to display red dots whilst waiting for completion.
15 # COMPLETION_WAITING_DOTS="true"