-
Notifications
You must be signed in to change notification settings - Fork 612
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
git-extra: Source ~/.profile as well in generated ~/.bash_profile #91
Conversation
@elieux just pinging in case this has been lost in the mail traffic of last year. |
Bash will prefer `~/.bash_profile` over `~/.profile`, so if we're generating `~/.bash_profile` for the user, we now insert a clause to source the original `~/.profile` to keep it from getting skipped. Signed-off-by: David Macek <david.macek.0@gmail.com>
The bash_profile.sh contained several echo statements redirecting output to the newly created ~/.bash_profile. This was rewritten to use heredoc syntax. Signed-off-by: David Macek <david.macek.0@gmail.com>
Signed-off-by: David Macek <david.macek.0@gmail.com>
Yeah, it did, but due to the way GitHub send email notifications, the ping got lost as well. :) I followed your advice, but now the indentation looks horrible. I also added one more change. I'm open to further requests (though it may be with a slight delay again). |
git-extra: Source ~/.profile as well in generated ~/.bash_profile
See #91 for the discussion. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
I decided to do this as a follow-up patch, as well as adjusting the Thanks, @elieux ! |
See #91 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Oh shoot, I forgot about the checksums. Glad to help. |
See git-for-windows#91 for the discussion. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Bash will prefer
~/.bash_profile
over~/.profile
, so if we're generating~/.bash_profile
for the user, we now insert a clause to source the original~/.profile
to keep it from getting skipped.As mentioned on Gitter.