From 5e9be3f7afcb16b965d0b2d9f18f5aff962e72c9 Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Sun, 15 Feb 2026 16:50:38 +0200 Subject: zsh: Add direnv --- zsh/.config/zsh/.zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 7845b6f..bcdadd5 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -34,3 +34,7 @@ source ~/.config/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh # This should be the last thing sourced in the file: source ~/.config/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ZSH_HIGHLIGHT_HIGHLIGHTERS+=(main brackets) + +if (( $+commands[direnv] )); then + eval "$(direnv hook zsh)" +fi -- cgit v1.2.3