Skip to content

Instantly share code, notes, and snippets.

@tuksik
Last active October 3, 2024 00:40
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!

@ArturoSalasMG
Copy link

thank you!

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