From 37ca6c1f5c314f6820bcf88d1db7096c32c8ed41 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Tue, 15 Nov 2022 10:10:45 -0500 Subject: [PATCH] Add direnv support --- chezmoi/dot_zshrc.d/executable_direnv.zsh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 chezmoi/dot_zshrc.d/executable_direnv.zsh diff --git a/chezmoi/dot_zshrc.d/executable_direnv.zsh b/chezmoi/dot_zshrc.d/executable_direnv.zsh new file mode 100644 index 0000000..31fdee6 --- /dev/null +++ b/chezmoi/dot_zshrc.d/executable_direnv.zsh @@ -0,0 +1,3 @@ +if command -v direnv &> /dev/null; then + eval "$(direnv hook zsh)" +fi