[utility] add setopt correct option
This option can be enabled by setting `zcorrection='true'` in .zimrc Closes #25
This commit is contained in:
parent
4cee50c2d6
commit
95cc94d9a0
2 changed files with 14 additions and 0 deletions
|
@ -2,6 +2,13 @@
|
||||||
# Utility Functions and Options
|
# Utility Functions and Options
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Command Correction
|
||||||
|
#
|
||||||
|
|
||||||
|
if [[ ${zcorrection} == 'true' ]]; then
|
||||||
|
setopt CORRECT
|
||||||
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# ls Colours
|
# ls Colours
|
||||||
|
|
|
@ -24,6 +24,13 @@ zmodules=(directory environment git history input utility custom \
|
||||||
# Set your desired prompt here
|
# Set your desired prompt here
|
||||||
zprompt_theme='steeef'
|
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
|
# Syntax-Highlighting
|
||||||
|
|
Loading…
Reference in a new issue