Added support for ~/nvm, fixes #4