赞
踩
Mac 解决配置 zsh 后,nvm不见的问题:
首先执行 cat ~/.bashrc
,找到下面这段复制:
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
然后执行 vi ~/.zshrc
,将刚刚复制的粘贴进去
最后 source ~/.zshrc
即可
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。