mac下~/.bashrc不起做用

~/.bashrc裏面的一些設置,好比alias命令的設置「不起做用」,新開一個終端都要source一下才起做用。linux unix下當shell是login shell,.bash_profile纔會加載,而bashrc正好相反。shell 真正的區別是在linux下,當用戶登陸到一個圖形界面,而後打開一個終端terminal,那些shell是non-login shell。bash 然而,在
相關文章
相關標籤/搜索