#!/usr/bin/env zsh

# TODO: Slow, lazy load.
export NVM_DIR="$HOME/.nvm"
if which brew &> /dev/null; then
  NVM_DIR=$(brew --prefix nvm 2> /dev/null)
fi
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"

#!/usr/bin/env zsh

# TODO: Slow, lazy load.

export NVM_DIR="$HOME/.nvm"
# User-specific installation.
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
# Homebrew installation.
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh"

Fix NVM for homebrew to the latest code
Fix NVM for homebrew to the latest code
