dotfiles/shell/direnv.sh
Felix Buehler 2919c8695b
Some checks failed
Build / Lint Code Base (push) Has been cancelled
CI / build (push) Has been cancelled
shell/direnv: enable zsh
2026-01-17 00:00:14 +01:00

9 lines
197 B
Bash
Executable file

#!/usr/bin/env bash
if command -v direnv >/dev/null; then
if [ -n "$BASH_VERSION" ]; then
eval "$(direnv hook bash)"
elif [ -n "$ZSH_VERSION" ]; then
eval "$(direnv hook zsh)"
fi
fi