diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index 004fd46..64e3a3b 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -2,6 +2,13 @@ # Utility Functions and Options # +# +# Command Correction +# + +if [[ ${zcorrection} == 'true' ]]; then + setopt CORRECT +fi # # ls Colours diff --git a/templates/zimrc b/templates/zimrc index 824f00a..f23ab75 100644 --- a/templates/zimrc +++ b/templates/zimrc @@ -24,6 +24,13 @@ zmodules=(directory environment git history input utility custom \ # Set your desired prompt here zprompt_theme='steeef' +# +# Utility +# + +# Enables command correction prompts; setopt CORRECT +# See: http://zsh.sourceforge.net/Doc/Release/Options.html#Input_002fOutput +zcorrection='false' # # Syntax-Highlighting