Timeline for Why doesn't .bashrc run automatically?
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 22, 2020 at 23:53 | comment | added | cellepo | If you are instead using the default zsh shell (not i.e: bash) configured in 2019+ OS X (currently Catalina), see apple.stackexchange.com/a/338622/192005 | |
| Apr 4, 2016 at 14:26 | comment | added | mmmmmm | I see no other identical post this just says put in the sh file | |
| Dec 7, 2015 at 10:31 | comment | added | Chris Page | Down-voted. I recommend against following this advice. The issue is that Terminal creates login shells, and Bash login shells only run the login startup script, not ~/.bashrc. However, the solution isn't to simply place your .bashrc content into the login startup file, because these two files are intended to perform different types of setup. Instead, the canonical setup for Bash is to have your ~/.bash_profile source your ~/.bashrc at some appropriate point in the script (usually last). | |
| Mar 19, 2015 at 9:48 | history | edited | jherran | CC BY-SA 3.0 | added 2 characters in body |
| Apr 28, 2011 at 5:15 | comment | added | romeovs | accepted this one because it is has a solution (and it was the first of two near identical posts). | |
| Apr 28, 2011 at 5:14 | vote | accept | romeovs | ||
| Apr 27, 2011 at 22:47 | history | answered | Cosu | CC BY-SA 3.0 |