[zshrc] Add direnv hook
This commit is contained in:
parent
b83521b29b
commit
e80b140aea
1 changed files with 5 additions and 2 deletions
7
zshrc
7
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
|
||||
# ====================
|
||||
|
|
|
|||
Loading…
Reference in a new issue