[zshrc] Add direnv hook

This commit is contained in:
Sami Samhuri 2021-01-17 14:05:42 -08:00
parent b83521b29b
commit e80b140aea

7
zshrc
View file

@ -321,14 +321,17 @@ if is_interactive && command_exists keychain && [[ -d ~/.ssh ]]; then
fi fi
fi fi
# 12. rbenv and pyenv # 12. various environments
# =================== # ========================
if command_exists rbenv; then if command_exists rbenv; then
eval "$(rbenv init -)" eval "$(rbenv init -)"
fi fi
if command_exists pyenv; then if command_exists pyenv; then
eval "$(pyenv init -)" eval "$(pyenv init -)"
fi fi
if command_exists direnv; then
eval "$(direnv hook zsh)"
fi
# 13. screen # 13. screen
# ==================== # ====================