Skip to content

Instantly share code, notes, and snippets.

@danielmoore
Created May 31, 2016 21:27
Show Gist options
  • Save danielmoore/fb2bfa8c43389e2a95697d5f61153df7 to your computer and use it in GitHub Desktop.
Save danielmoore/fb2bfa8c43389e2a95697d5f61153df7 to your computer and use it in GitHub Desktop.
Bulletproof git completion?
gitRootDir=$(dirname $(git --info-path))/..
source $(find $gitRootDir -name git-completion.bash)
source $(find $gitRootDir -name git-prompt.sh)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment