dotfiles/zshenv
Eryn Wells 75760856af [zsh] Fix path setup
- Add setup-path function that allows resetting the path at any time.
- macOS does a dumb thing where it resets your path with some helper binary in
  /etc/zprofile. Disable GLOBAL_RCS in .zshenv so it doesn't read system init
  files.
2018-04-14 09:41:42 -07:00

16 lines
386 B
Bash

# .zshenv
# vim: ft=zsh
#
# Environment settings for zsh
#
# Eryn Wells <eryn@erynwells.me>
# Don't read global startup. It messes things up...
unsetopt GLOBAL_RCS
[ -e $HOME/.env ] && source $HOME/.env
# System specific environment settings
[ -e $HOME/.zshenv.$SYS ] && source $HOME/.zshenv.$SYS
# Local environment settings
[ -e $HOME/.zshenv.local ] && source $HOME/.zshenv.local