1
0
Fork 0
mirror of synced 2024-12-23 06:20:43 -05:00

[utility] add setopt correct option

This option can be enabled by setting `zcorrection='true'` in .zimrc

Closes #25
This commit is contained in:
Matt Hamilton 2016-01-17 07:08:08 -05:00
parent 4cee50c2d6
commit 95cc94d9a0
2 changed files with 14 additions and 0 deletions

View file

@ -2,6 +2,13 @@
# Utility Functions and Options
#
#
# Command Correction
#
if [[ ${zcorrection} == 'true' ]]; then
setopt CORRECT
fi
#
# ls Colours

View file

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