dotfiles/.zsh.d/direnv.zsh

8 lines
115 B
Bash
Raw Normal View History

2024-02-10 12:33:24 +00:00
which direnv > /dev/null
RC=$?
if [ $RC -eq 0 ]; then
export EDITOR=/usr/bin/vim
eval "$(direnv hook zsh)"
fi