summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2021-12-02 21:24:13 -0500
committerKjetil Orbekk <kj@orbekk.com>2021-12-02 21:24:13 -0500
commitb06ba4d8350e4f4412ad3c0ad7bf49a35233690e (patch)
tree1b4e9cdcbcfea95f5581b684dad374266dc60e0e /zsh
parenta5859bf00d385f36d7d3800b5c98f8fb59fbbcf8 (diff)
direnv
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