close



By default, Terminal starts the shell via /usr/bin/login, which makes the shell a login shell. On every platform (not just Mac OS X) bash does not use .bashrc for login shells (only /etc/profile and the first of .bash_profile, .bash_login, .profile that exists and is readable). This is why “put source ~/.bashrc in your .bash_profile” is standard advice. –
arrow
arrow
    文章標籤
    mac bashrc
    全站熱搜

    peicheng 發表在 痞客邦 留言(0) 人氣()