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
@AlexKay28
Copy link

thanks!

@gnarlz
Copy link

gnarlz commented Sep 22, 2021

very helpful - thank you!

@rafael-shopper
Copy link

Tks!!!!

@kimtaekkyun
Copy link

Nice :)

@LightR0
Copy link

LightR0 commented Mar 16, 2023

Nice!!!!!!!!!!!

@datsenkoboos
Copy link

thank you!

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