From 59db612d3a21788042818180d341b0c4c5f57c5b Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Mon, 30 Jan 2023 13:41:47 +0100 Subject: [PATCH] Test out direnv --- zsh/.config/zsh/.zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 54f770e..da44e7d 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -300,3 +300,8 @@ fi if [[ -f /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh ]]; then . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh fi + +# Initialize direnv if available +if (($+commands[direnv])); then + eval "$(direnv hook zsh)" +fi