summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 611fd40..9e227da 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -82,5 +82,7 @@ bindkey "^[u" get-parent-dir
source ~/.zshrc.local
+(( $+commands[direnv] )) && eval "$(direnv hook zsh)"
+
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.zsh/p10k.zsh ]] || source ~/.zsh/p10k.zsh