-
Notifications
You must be signed in to change notification settings - Fork 823
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 console prompt change after installing Anaconda. #2213
Comments
Does ~/.bash_profile or ~/.bash_login exist? |
Thanks @0xbadfca11, I've been rebuild (cleanup/reinstall) Windows Bash and, it hasn't failed, every time I completed the Anaconda installation, then ended up with the same situation. So, I don't install Anaconda then everything is fine. The only thing (I think) Anaconda does is to add the to the PATH its folder location. I just don't understand how this changes the prompt behavior (??). So, it is just annoying, to every time execute the 'source ~/.bashrc' command. :) |
@MaximoTrinidad - Default(?) ~/.profile might have
If you have ~/.bash_profile, you could insert that command into that file. That's why @0xbadfca11 asked the question, "Does ~/.bash_profile or ~/.bash_login exist?", I think. |
Hum! I got both .bash_profile and .profile but not .bash_login. I have to admit I didn't know of the ~/.profile or the ~/.bash_login files. ~/.bash_profile -> I think I created this one I added the path:
~/.profile -> This one already existed:
I know I just could add the command:
I'm just puzzle in how this happened. I have replicated this behavior in all on my demo Windows 10 VM's just after loading Anaconda Package. But, in Ubuntu full OS, it's fine. There's always a possibility that is something to do with the shell itself as they still working on it. :) |
Solved this issue!! I cause my own problem, and your hint pointing me to these files helped. I'm going to closed this incident! Greatly Appreciated, |
@sunjoong, Thanks for the hint!! |
This bug-tracker is monitored by developers and other technical types. We like detail! So please use this form and tell us, concisely but precisely, what's up. Please fill out ALL THE FIELDS!
If you have a feature request, please post to the UserVoice. If you're reporting a BSOD, don't post here! Instead, e-mail "secure@microsoft.com", and if possible attach the minidump from "C:\Windows\minidump".
Problem
I wonder if this matters? I'm having issues with the prompt after I installed Anaconda.
Although, everything seems to be working but I don't know how to fix it yet.
ver
at a Windows Command Prompt)C:\Users\mtrinidad>ver
Microsoft Windows [Version 10.0.16215.1000]
What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)
maxt@MTrinidadLT2:~$
maxt@MTrinidadLT2:~$ source ~/.bashrc
What's wrong / what should be happening instead:
Bash Console prompt starts all white.
(See attached Image)
Another thing... As soon I open Bash, before executing the 'source ~/.bashrc' command, I execute Python and comes up ver. 2.7. Then, when after I executed the command, it comes ver. 3.6.1.
(See attached image)
Workaround
To restore prompt color, execute command:
source ~/.bashrc
<cmd>
is failing, then runstrace -o strace.txt -ff <cmd>
, and post the strace.txt output here)See our contributing instructions for assistance.
The text was updated successfully, but these errors were encountered: