dotfiles/.config/direnv/direnvrc

9 lines
222 B
Plaintext

# as per https://github.com/direnv/direnv/wiki/Vim
add_extra_vimrc() {
local extravim="$(find_up .vimrc)"
if [ -n "$extravim" ]; then
echo "Adding extra .vimrc: ${extravim}"
path_add EXTRA_VIM $extravim
fi
}