[utility] Simplify correction prompt config
For `setopt CORRECT`. Let the user uncomment a line with the `setopt` directly in the configuration file, instead of having a flag variable for it. Closes #90
This commit is contained in:
parent
e24fed015c
commit
0a9d105107
2 changed files with 3 additions and 11 deletions
|
@ -2,14 +2,6 @@
|
||||||
# Utility Functions and Options
|
# Utility Functions and Options
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
|
||||||
# Command Correction
|
|
||||||
#
|
|
||||||
|
|
||||||
if [[ ${zcorrection} == 'true' ]]; then
|
|
||||||
setopt CORRECT
|
|
||||||
fi
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# ls Colours
|
# ls Colours
|
||||||
#
|
#
|
||||||
|
|
|
@ -38,9 +38,9 @@ zprompt_theme='steeef'
|
||||||
# Utility
|
# Utility
|
||||||
#
|
#
|
||||||
|
|
||||||
# Uncomment to enable command correction prompts; 'setopt CORRECT'
|
# Uncomment to enable command correction prompts
|
||||||
# See: http://zsh.sourceforge.net/Doc/Release/Options.html#Input_002fOutput
|
# See: http://zsh.sourceforge.net/Doc/Release/Options.html#Input_002fOutput
|
||||||
#zcorrection='true'
|
#setopt CORRECT
|
||||||
|
|
||||||
#
|
#
|
||||||
# Input
|
# Input
|
||||||
|
|
Loading…
Reference in a new issue