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

.bash_profile called instead of .bashrc after running 'bash' from powershell #2650

Closed
Naadwo opened this issue Nov 10, 2017 · 3 comments
Closed

Comments

@Naadwo
Copy link

Naadwo commented Nov 10, 2017

I've read other (similar) issues but this seems to be something else. First I thought that is is feature - but after investigation it looks more like a bug.

  • Your Windows build number:

    • Version with issue: Microsoft Windows [Version 10.0.16299.15]
    • Version working properly Microsoft Windows [Version 10.0.15063]
    • Both were installed version 1709 (with issue) was installed not upgraded from previous one.
  • What you're doing and what's happening: I'm starting bash from powershell (or any other way)

    • Previously:
      • running bash, caused including .barshrc (the same from bash)
      • running bash -l, caused including .bash_profile (the same from bash)
    • Now:
      • running both commands from powershell causes including .bashprofile
      • running same commands from bash works fine
  • What's wrong / what should be happening instead:

    • When running bash from powershell (or cmd, or menu start) wrong file is included
  • Extra information

    • On both machines I have exactly the same version of bash ( 4.3.48(1)-release )
@onomatopellan
Copy link

I think that was discussed here #816

@Naadwo
Copy link
Author

Naadwo commented Nov 13, 2017

It is probably, I have overlooked it. But now both .profile and .bashrc are never loaded (no matter if -l is added), I doubt if that is really feature, rather a bug..

@benhillis
Copy link
Member

We've refined this behavior, will be available in an Insider Dev build soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants