Fixed init.zsh logic, changed .zimrc module order

This commit is contained in:
Anton Shiryaev 2018-04-06 02:03:39 +03:00
parent 3dd6007cb5
commit 9a03c73dc1
2 changed files with 6 additions and 4 deletions

View File

@ -14,10 +14,12 @@ fi
# Source user configuration
[[ -s ${ZDOTDIR:-${HOME}}/.zimrc ]] && source ${ZDOTDIR:-${HOME}}/.zimrc
if zinput_mode='emacs'; then
set -o emacs
else
# If necessary, set vi mode before loading modules
if zinput_mode='vi'; then
set -o vi
else
set -o emacs
fi
# Autoload module functions
() {

View File

@ -12,7 +12,7 @@
# The second line of modules may depend on options set by modules in the first
# line. These dependencies are noted on the respective module's README.md.
zmodules=(directory environment git git-info history input utility custom \
syntax-highlighting history-substring-search prompt completion)
syntax-highlighting prompt completion history-substring-search)
###################