配圖一頂mac默認(rèn)用bash,環(huán)境變量加載順序記好了:/etc/profile → /etc/paths → ~/.bash_profile → ~/.bash_login → ~/.profile → ~/.bashrc。前面?zhèn)z是系統(tǒng)級(jí),開(kāi)機(jī)就加載,后面幾個(gè)是用戶級(jí)的。懂的都懂,不解釋了~
回答數(shù)
8
瀏覽數(shù)
2795