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
|
*.DS_Store
|
||||||
|
|
||||||
aet-*/**
|
aet-*/**
|
||||||
|
.envrc
|
||||||
|
|
5
zshrc
5
zshrc
|
@ -42,6 +42,11 @@ if which nodenv > /dev/null; then
|
||||||
(nodenv rehash &) 2> /dev/null
|
(nodenv rehash &) 2> /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# init direnv
|
||||||
|
if which direnv > /dev/null; then
|
||||||
|
eval "$(direnv hook zsh)"
|
||||||
|
fi
|
||||||
|
|
||||||
# completion
|
# completion
|
||||||
autoload -U compinit
|
autoload -U compinit
|
||||||
compinit
|
compinit
|
||||||
|
|
Loading…
Reference in a new issue