go-bash-completion is as it sounds - bash completion script for the Go programming language.
Follow instructions on enabling apt.kura.gg repository and then run the following command to install the package.
sudo apt-get install go-bash-completion
Download the source file from above and run the commands below.
sudo make install . ~/bashrc
Or you can do it the lazy way
sudo wget https://raw.github.com/kura/go-bash-completion/master/etc/bash_completion.d/go -O /etc/bash_completion.d/go . ~/bashrc
- With homebrew you can install the
- go-completion recipe to use this plugin
brew tap homebrew/completions brew install go-completion
then add the following lines to your ~/.bashrc
if [ -f `brew --prefix`/etc/bash_completion.d/go ]; then source `brew --prefix`/etc/bash_completion.d/go fi
The source can be found on GitHub.
Issues can be tracked using GitHub Issues.
This software is licensed using the MIT License. The license is provided in the source code repository.