diff --git a/gitignore_global b/gitignore_global index 062310c..16afcb4 100644 --- a/gitignore_global +++ b/gitignore_global @@ -6,3 +6,4 @@ *.DS_Store aet-*/** +.envrc diff --git a/zshrc b/zshrc index 5ae630c..f3f06ac 100644 --- a/zshrc +++ b/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