3 ms·
git-completion.bash has the added benefit of giving you tab-completion on git commands, and arguments to git commands.
by joshwa 17y ago
git-completion.bash has the added benefit of giving you tab-completion on git commands, and arguments to git commands.
- vicaya 17y agoIt also shows the correct state of merge/rebase in the prompt as well. In many distributions, it's installed as /etc/bash_completion.d/git when you install git from a package management system, you just need to source /etc/bash_completion to get all the benefits. The OP is an example of wheel reinvented, poorly.