.bashrc vs .bash_profile #165

Closed
wamatt opened this Issue Jan 10, 2013 · 3 comments

3 participants

@wamatt

I'm seeing conflicting advice on this.

http://www.joshstaiger.org/archives/2005/07/bash_profile_vs.html

States the bash manual and best practice is to have .bash_profile link to .bashrc, not the other way around.

Thoughts?

@mathiasbynens

In my dotfiles, .bashrc doesn’t do anything except sourcing .bash_profile.

The comments in https://github.com/janmoesen/tilde/blob/master/.bashrc shed some light on why it makes sense to source .bash_profile from within .bashrc.

/cc @janmoesen

@Andersos

@wamatt can this be closed?

@wamatt wamatt closed this Jul 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment