The brew formula leaves nvm.sh at $(brew --prefix nvm)/nvm.sh without linking it to~/.nvm/nvm.sh. Consequently, the following code fails to source the file properly.
set -q NVM_DIR; or set -gx NVM_DIR ~/.nvm
set -q nvm_prefix; or set -gx nvm_prefix $NVM_DIR
bass source $nvm_prefix/nvm.sh --no-use ';' nvm $argv
The brew formula leaves
nvm.sh
at$(brew --prefix nvm)/nvm.sh
without linking it to~/.nvm/nvm.sh
. Consequently, the following code fails to source the file properly.