dotfiles/zshenv

24 lines
428 B
Text
Raw Normal View History

# .zshenv
# vim: ft=zsh
# Eryn Wells <eryn@erynwells.me>
# Don't read global startup. It messes things up...
unsetopt GLOBAL_RCS
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 init_env
autoload -Uz init_env_python
autoload -Uz init_path
init_path
init_env
init_env_python
if autoload +X init_env_$SYS &>-; then
init_env_$SYS
fi