From e80b140aeaea41723a1d58a24991c526b78d8bd1 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sun, 17 Jan 2021 14:05:42 -0800 Subject: [PATCH] [zshrc] Add direnv hook --- zshrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zshrc b/zshrc index ad1da12..5e5fe5f 100755 --- a/zshrc +++ b/zshrc @@ -321,14 +321,17 @@ if is_interactive && command_exists keychain && [[ -d ~/.ssh ]]; then fi fi -# 12. rbenv and pyenv -# =================== +# 12. various environments +# ======================== if command_exists rbenv; then eval "$(rbenv init -)" fi if command_exists pyenv; then eval "$(pyenv init -)" fi +if command_exists direnv; then + eval "$(direnv hook zsh)" +fi # 13. screen # ====================