Use direnv for grabbing local env

This commit is contained in:
Andrew Tomaka 2020-04-23 09:14:43 -04:00
parent 3ba469c119
commit 3ca141fed0
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
2 changed files with 6 additions and 0 deletions

View file

@ -6,3 +6,4 @@
*.DS_Store
aet-*/**
.envrc

5
zshrc
View file

@ -42,6 +42,11 @@ if which nodenv > /dev/null; then
(nodenv rehash &) 2> /dev/null
fi
# init direnv
if which direnv > /dev/null; then
eval "$(direnv hook zsh)"
fi
# completion
autoload -U compinit
compinit