Skip to main content
5 events
when toggle format what by license comment
Dec 7, 2015 at 10:43 comment added Chris Page Note that .profile is common to several shells and should only contain POSIX-compatible sh code. If it sources .bashrc it arguably contains Bash-specific code (the existence of the .bashrc file is Bash-specific). I recommend renaming your .profile to .bash_profile since you're using it in a Bash-specific way. Or, put generic code in .profile and create a .bash_profile that sources .profile and .bashrc.
Mar 19, 2015 at 9:48 history edited jherran CC BY-SA 3.0
added 6 characters in body
May 27, 2014 at 10:28 comment added Michael Durrant This is my approach. This way I can maintain a .bashrc that works on both systems... and I can put any mac specific stuff or stuff like aliases that are only for work (where I use the mac the most) in my .bash_profile file.
Apr 28, 2011 at 5:14 vote accept romeovs
Apr 28, 2011 at 5:14
Apr 28, 2011 at 2:11 history answered anu CC BY-SA 3.0