Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Customizing the terminal prompt on Mac
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mac57" data-source="post: 688866" data-attributes="member: 17052"><p>I didn't have to do anything to my Terminal.app settings to get it to load .bashrc. Bash should do this automatically.</p><p></p><p>However, I believe that Terminal.app creates login shells. Hence, it will look for and process .bash_profile, not .bashrc. I have a one line .bash_profile in my home directory that just contains the line</p><p></p><p>[CODE]source .bashrc</p><p>[/CODE]</p><p>That does the trick for me.</p></blockquote><p></p>
[QUOTE="mac57, post: 688866, member: 17052"] I didn't have to do anything to my Terminal.app settings to get it to load .bashrc. Bash should do this automatically. However, I believe that Terminal.app creates login shells. Hence, it will look for and process .bash_profile, not .bashrc. I have a one line .bash_profile in my home directory that just contains the line [CODE]source .bashrc [/CODE] That does the trick for me. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Customizing the terminal prompt on Mac
Top