Skip to content

Instantly share code, notes, and snippets.

@tuksik
Last active May 4, 2024 13:56
Show Gist options
  • Save tuksik/4a5806e38b040bda752a to your computer and use it in GitHub Desktop.
Save tuksik/4a5806e38b040bda752a to your computer and use it in GitHub Desktop.
Fix -bash: __git_ps1: command not found
#http://stackoverflow.com/questions/12870928/mac-bash-git-ps1-command-not-found
curl -o ~/.git-prompt.sh https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh
echo 'source ~/.git-prompt.sh' >> ~/.bashrc
@datsenkoboos
Copy link

thank you!

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