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