Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable sourcing ~/.bashrc #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Enable sourcing ~/.bashrc #15

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 14, 2018

~/.bashrc usually contains some customization to the $PATH variable, so it makes sense to source it by passing the --login-flag to bash. This pull request modifies the two calls to bash that are responsible
for that.

~/.bashrc usually contains some customization to the $PATH variable,
so it makes sense to source it by passing the `--login`-flag to bash.
This pull request modifies the two calls to bash that are responsible
for that.
Copy link
Member

@scorphus scorphus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your valuable contribution, @samvv!

While I consider sourcing ~/.bashrc useful and necessary in many cases, I believe it should not be the default behaviour.

So, what you think about making it optional via a configuration variable (e.g. FOREIGN_ENV_SOURCE_BASHRC or FENV_SOURCE_BASHRC) and adding proper documentation?

Also, after #18 was merge, this PR conflicts with current master. Can you please resolve it?

Thanks!

@scorphus scorphus self-assigned this Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants