1
0
Fork 0
mirror of synced 2024-11-26 17:25:35 -05:00

Simplify utility module configuration

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.
This commit is contained in:
Eric Nielsen 2016-09-30 09:36:40 -05:00
parent b1d5c00d5f
commit 4981cb28da
2 changed files with 3 additions and 11 deletions

View file

@ -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
# #
@ -23,7 +15,7 @@ if (( ${+commands[dircolors]} )); then
fi fi
alias ls='ls --group-directories-first --color=auto' alias ls='ls --group-directories-first --color=auto'
else else
# BSD # BSD

View file

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