Mac 每次都要執行source ~/.bash_profile

最近碰到了這個問題,搜了不少資料,都是千篇一概的說是修改.zshrc,但其實,最有可能的是修改~/.profile,在~/.profile中添加bash source ~/.bash_profile 關掉Termianl,而後從新打開,就能夠了。code
相關文章
相關標籤/搜索