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

git-extra: Source ~/.profile as well in generated ~/.bash_profile #91

Merged
merged 3 commits into from
Jan 7, 2016

Conversation

elieux
Copy link
Contributor

@elieux elieux commented Dec 30, 2015

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.

@dscho
Copy link
Member

dscho commented Jan 3, 2016

@elieux just pinging in case this has been lost in the mail traffic of last year.

elieux added 3 commits January 7, 2016 08:21
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>
@elieux
Copy link
Contributor Author

elieux commented Jan 7, 2016

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).

dscho added a commit that referenced this pull request Jan 7, 2016
git-extra: Source ~/.profile as well in generated ~/.bash_profile
@dscho dscho merged commit b823122 into git-for-windows:master Jan 7, 2016
dscho added a commit that referenced this pull request Jan 7, 2016
See #91 for the
discussion.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@elieux elieux deleted the bash_profile branch January 7, 2016 15:01
@dscho
Copy link
Member

dscho commented Jan 7, 2016

I decided to do this as a follow-up patch, as well as adjusting the md5sums. As of git-extra-1.1.110.a4c35b9-1, it can be enjoyed in the SDK! 😄

Thanks, @elieux !

dscho added a commit that referenced this pull request Jan 7, 2016
See #91

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@elieux
Copy link
Contributor Author

elieux commented Jan 7, 2016

Oh shoot, I forgot about the checksums.

Glad to help.

elieux pushed a commit to elieux-contrib/build-extra that referenced this pull request Aug 15, 2017
See git-for-windows#91 for the
discussion.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
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