Uh oh!
There was an error while loading. Please reload this page.
Prioritize adding path to '.bash_profile' over '.profile'. - #468
Prioritize adding path to '.bash_profile' over '.profile'.#468mlschneid wants to merge 5 commits into
Conversation
Diggsey
commented
May 15, 2016
I'm not sure how far we should go down this road, but if we're going to do this, then IMO we should add the definition to both files, in the event that Based on the info here: http://hayne.net/MacDev/Notes/unixFAQ.html#shellStartup It seems that bash looks for these files, in order: |
mlschneid
commented
May 16, 2016
I'm terrible at git and somehow smushed and flipped commits around, but all of it together should be the fix. I think it's a bit odd to have the filenames in the code, but I don't see a config file. Before I do any more damage, I figured I should ask. Should I squash the commits? |
brson
commented
May 17, 2016
Thanks for the patch. Since there are several problems related to PATH config, I want to think a bit harder about this PATH situation before committing to more solutions. It also doesn't work on fish shell. I previously switched from detecting the presense of |
mlschneid
commented
May 17, 2016
No sweat captain. |
If you use '.bash_profile' on osx, '.profile' gets ignored, which prevents the changes to $PATH from being picked up.
I don't have any experience in rust, so this code may not be idiomatic.