You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Clone the zsh-nvm plugin (https://github.com/lukechilds/zsh-nvm#manually)
if ! [[ -a ~/.zsh-nvm ]]
then
git clone https://github.com/lukechilds/zsh-nvm.git ~/.zsh-nvm
fi
# Load the zsh-nvm plugin
if [[ -a ~/.zsh-nvm ]]
then
source ~/.zsh-nvm/zsh-nvm.plugin.zsh
fi
# TODO: Add the better npm completion plugin
# Clone the better npm completion plugin (https://github.com/lukechilds/zsh-better-npm-completion)
# if ! [[ -a ~/.zsh-better-npm-completion ]]
# then
# git clone https://github.com/lukechilds/zsh-better-npm-completion.git ~/.zsh-better-npm-completion
# fi
# FIX: throws error about command compdef not existing
# if [[ -a ~/.zsh-better-npm-completion ]]
# then
# source ~/.zsh-better-npm-completion/zsh-better-npm-completion.plugin.zsh
# fi
Then change Brewfile to install yarn without node so it doesn't collide with nvm's node:
Brewfile
brew 'yarn' --without-node
Looking for whatever feedback. Don't know if this is the best approach but just wanted to not use Homebrew for nvm.
From
creationix/nvm
:The text was updated successfully, but these errors were encountered: