Skip to content

Commit 3edb6bd

Browse files
committed
add direnv support
1 parent 457bb9e commit 3edb6bd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

systems/aarch64-linux/zsh.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ in {
6464
if [ -f "$HOME/.bin_aliases" ]; then
6565
source "$HOME/.bin_aliases"
6666
fi
67+
68+
# Ensure direnv is properly initialized
69+
if command -v direnv &> /dev/null; then
70+
eval "$(direnv hook zsh)"
71+
fi
6772
'';
6873
};
6974
}

0 commit comments

Comments
 (0)