![]() usr/share/bash-completion/bash_completion fi ![]() "/usr/local/etc/profile.d/bash_completion.sh"įor older versions of bash: brew install bash-completionĪdd to. If $BASH_VERSION > 4: brew install (updated version) Pay special care which version of bash you have as MacOS default ships with 3.2.57(1)-release.Īdd to. You can install git completion using Homebrew or MacPorts. In some versions of Ubuntu, git autocomplete may be broken by default, reinstalling by running this command should fix it: sudo apt-get install git-core bash-completion On Mac bashrc: source /etc/bash_completion.d/git # or source /usr/share/bash-completion/completions/git You just need to use it - add this line to your. ![]() On most distributions, git completion script is installed into /etc/bash_completion.d/ (or /usr/share/bash-completion/completions/git) when you install git, no need to go to github. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |