Re:More Productive Git
by saagarjha on Friday May 24, 2019 @05:26PM
(#20005422)
If you're on macOS, update your bash and install bash-completions and git. The path above is likely wrong if you're using a package manager: for MacPorts you want to source /opt/local/etc/profile.d/bash_completion.sh, and for Homebrew it's $(brew --prefix)/share/bash-completion/bash_completion (the install process will tell you what to use).
[ Parent
| on HN ]
My brew has it in /usr/local/etc/bash_completion.d/
That seems to be a legacy thing: https://github.com/Homebrew/homebrew-core/blob/master/Formul...