首先,如果没有这个文件夹就按如下命令创建一下就行
vim ~/.bash_profile
输入如下命令
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
重启shell即可
首先,如果没有这个文件夹就按如下命令创建一下就行
vim ~/.bash_profile
输入如下命令
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
重启shell即可