MacOS默认加载.zshrc,如果~/目录下没有此文件新建该文件,文件内容如下
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
MacOS默认加载.zshrc,如果~/目录下没有此文件新建该文件,文件内容如下
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
本文标题:shell每次都要source .base_profile问题
本文链接:https://www.haomeiwen.com/subject/bciviktx.html
网友评论