1
0
Fork 0
mirror of synced 2024-11-16 04:55:35 -05:00

Fixed init.zsh syntax, moved setting in .zimrc

This commit is contained in:
Anton Shiryaev 2018-04-06 02:24:27 +03:00
parent 727763feed
commit b92415af42
2 changed files with 5 additions and 9 deletions

View file

@ -14,8 +14,8 @@ fi
# Source user configuration
[[ -s ${ZDOTDIR:-${HOME}}/.zimrc ]] && source ${ZDOTDIR:-${HOME}}/.zimrc
# If necessary, set vi mode before loading modules
if ${zinput_mode}='vi'; then
# If necessary, set vi mode before loading modules to ensure history search with arrow keys works in vi mode
if [ ${zinput_mode}='vi' ]; then
set -o vi
else
set -o emacs

View file

@ -26,13 +26,6 @@ zmodules=(directory environment git git-info history input utility custom \
# Set your desired prompt here
zprompt_theme='steeef'
#
# Input
#
# Set to vi or emacs
zinput_mode='emacs'
#
# Completion
#
@ -64,6 +57,9 @@ ztermtitle='%n@%m:%~'
# Input
#
# Set to vi or emacs
zinput_mode='emacs'
# Uncomment to enable double-dot expansion.
# This appends '../' to your input for each '.' you type after an initial '..'
#zdouble_dot_expand='true'