nvm: update nvm information (#45844)

This commit is contained in:
许道杰 2019-10-27 00:41:57 +08:00 committed by chenrui
parent 76cac69879
commit ffbede34d9

View file

@ -26,7 +26,7 @@ class Nvm < Formula
export NVM_DIR="$HOME/.nvm"
[ -s "#{opt_prefix}/nvm.sh" ] && \. "#{opt_prefix}/nvm.sh" # This loads nvm
[ -s "#{opt_prefix}/etc/bash_completion" ] && \. "#{opt_prefix}/etc/bash_completion" # This loads nvm bash_completion
[ -s "#{opt_prefix}/etc/bash_completion.d/nvm" ] && \. "#{opt_prefix}/etc/bash_completion.d/nvm" # This loads nvm bash_completion
You can set $NVM_DIR to any location, but leaving it unchanged from
#{prefix} will destroy any nvm-installed Node installations