[ -n "$PS1" ]in 的目的是什么[ -n "$PS1" ] && source ~/.bash_profile;?此行包含在.bashrcdotfiles repo的 a 中。
[ -n "$PS1" ]
[ -n "$PS1" ] && source ~/.bash_profile;
.bashrc
osx bash bashrc
bash ×1
bashrc ×1
osx ×1