Use direnv for grabbing local env
This commit is contained in:
parent
3ba469c119
commit
3ca141fed0
2 changed files with 6 additions and 0 deletions
|
@ -6,3 +6,4 @@
|
|||
*.DS_Store
|
||||
|
||||
aet-*/**
|
||||
.envrc
|
||||
|
|
5
zshrc
5
zshrc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue