Skip to content

Instantly share code, notes, and snippets.

@nastysloper
Forked from SamSamskies/git-sh-aliases.md
Created October 10, 2013 19:10
Show Gist options
  • Save nastysloper/6923815 to your computer and use it in GitHub Desktop.
Save nastysloper/6923815 to your computer and use it in GitHub Desktop.

Got this tip from the master Myles Byrne (@quackingduck)

git-sh loads your bash config from ~/.bashrc not ~/.bash_profile

So one way to fix this (this is how my machine is set up) is to copy your ~/.bash_profile to ~/.bashrc and then change ~/.bash_profile to just have this line:

test -f ~/.bashrc && source ~/.bashrc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment