Skip to content

Instantly share code, notes, and snippets.

@SamSamskies
Last active December 25, 2015 04:59
Show Gist options
  • Save SamSamskies/6921734 to your computer and use it in GitHub Desktop.
Save SamSamskies/6921734 to your computer and use it in GitHub Desktop.
aliases not working in git-sh

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