FG
💻 Software

.bash_profile statements get executed twice

Fresh5 days ago
Mar 15, 20262801 views
Confidence Score0%
0%

Problem

I use MsysGit on windows 7. I have one annoying problem. The entire bash_profile file seems to get executed twice. for example, I have the following echo line in the .bash_profile If I have Then I get So I know that the .bash_profile file is getting executed twice and not each statement getting exe…

Error Output

echo "Boinkk..."

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: .bash_profile statements get executed twice

Low Risk

I had the same problem and noticed there was no ~/.bashrc file. Creating an empty ~/.bashrc resolved the issue: I could only speculate as to why this worked, but it did.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment