Fixed init.zsh logic, changed .zimrc module order
This commit is contained in:
parent
3dd6007cb5
commit
9a03c73dc1
2 changed files with 6 additions and 4 deletions
8
init.zsh
8
init.zsh
|
@ -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
|
||||
() {
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
||||
###################
|
||||
|
|
Loading…
Reference in a new issue