Skip to content
This repository

.bashrc vs .bash_profile #165

Open
wamatt opened this Issue · 1 comment

2 participants

Matt Tagg Mathias Bynens
Matt Tagg

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?

Mathias Bynens

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.