avn icon indicating copy to clipboard operation
avn copied to clipboard

Handle bash init scripts better

Open wbyoung opened this issue 9 years ago • 5 comments
trafficstars

We need to better handle .bashrc vs .bash_profile on different platforms.

See the conversation on #30.

wbyoung avatar Dec 01 '15 18:12 wbyoung

See https://github.com/creationix/nvm/labels/installing%3A%20profile%20detection as well. Profile detection is insanely difficult.

ljharb avatar Dec 01 '15 19:12 ljharb

@ljharb thanks for the heads up.

Maybe the best approach would be to make it interactive if more than one option exists.

wbyoung avatar Dec 02 '15 02:12 wbyoung

Here's an idea: https://github.com/creationix/nvm/issues/1042

johntron avatar Mar 21 '16 17:03 johntron

Ubuntu would like .bashrc. It doesn't source .bash_profile or .profile by default, so avn is just not enabled on any environment.

ttaira avatar Nov 24 '16 09:11 ttaira

@johntron @ttaira happy to review any PR that addresses this. It certainly would make things easier on everyone!

wbyoung avatar Nov 28 '16 17:11 wbyoung