新建bash_profile Jul 29, 2016 新建空的bash_profile之后,终端配色失效,需要先加载bashrc,在bash_profile中添加如下内容: if [ -f ~/.bashrc ]; then . ~/.bashrc fi