2011-09-13 11:26:35 -07:00
|
|
|
# .zshenv
|
|
|
|
# vim: ft=zsh
|
|
|
|
# Eryn Wells <eryn@erynwells.me>
|
|
|
|
|
2018-04-14 09:41:42 -07:00
|
|
|
# Don't read global startup. It messes things up...
|
|
|
|
unsetopt GLOBAL_RCS
|
|
|
|
|
2021-12-31 10:27:27 -08:00
|
|
|
export SYS=`uname -s | tr A-Z a-z`
|
2012-04-10 10:11:14 -07:00
|
|
|
|
2021-12-31 10:27:27 -08:00
|
|
|
fpath=("$HOME/.zsh/func" $fpath)
|
2022-05-25 14:06:52 -07:00
|
|
|
|
|
|
|
autoload -Uz do_init_functions
|
|
|
|
|
|
|
|
typeset -a zsh_init_env_functions=( \
|
2022-05-28 09:07:40 -07:00
|
|
|
init_path \
|
2022-05-25 14:06:52 -07:00
|
|
|
init_env \
|
2022-10-20 09:20:13 -07:00
|
|
|
init_env_aliases \
|
2022-05-25 14:06:52 -07:00
|
|
|
init_env_python \
|
2023-03-20 08:41:39 -07:00
|
|
|
init_env_playdate \
|
2022-05-28 09:07:40 -07:00
|
|
|
init_env_vi \
|
2022-05-25 14:06:52 -07:00
|
|
|
init_env_$SYS \
|
|
|
|
)
|
2021-12-31 10:27:27 -08:00
|
|
|
|
2022-05-25 14:06:52 -07:00
|
|
|
do_init_functions zsh_init_env_functions
|
2021-12-31 10:27:27 -08:00
|
|
|
|
2022-05-25 14:06:52 -07:00
|
|
|
if [[ -e "$HOME/.zshenv.local" ]]; then
|
|
|
|
source "$HOME/.zshenv.local"
|
2021-12-31 10:27:27 -08:00
|
|
|
fi
|