[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.
This commit is contained in:
parent
7a69b98387
commit
75760856af
2 changed files with 21 additions and 8 deletions
3
zshenv
3
zshenv
|
|
@ -5,6 +5,9 @@
|
|||
#
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue