← All notes

#husky

1 note

Fixing "husky" can not run git hooks (node installed by "nvm")

Part of dotfiles Add file ~/.config/husky/init.sh bash export NVMDIR="$HOME/.nvm" [ -s "$NVMDIR/nvm.sh" ] && \. "$NVMDIR/nvm.sh"

#javascript #tools #husky #git #dotfiles