[zsh] Move vi init to init_env_vi; set EDITOR in that function

This commit is contained in:
Eryn Wells 2022-05-28 09:07:40 -07:00
parent 4317bfd61e
commit 09ea02303d
4 changed files with 6 additions and 5 deletions

5
zshenv
View file

@ -9,14 +9,13 @@ export SYS=`uname -s | tr A-Z a-z`
fpath=("$HOME/.zsh/func" $fpath)
autoload -Uz prepend_to_path
autoload -Uz append_to_path
autoload -Uz do_init_functions
typeset -a zsh_init_env_functions=( \
init_path \
init_env \
init_env_python \
init_path \
init_env_vi \
init_env_$SYS \
)