go-bash-completion is as it sounds - bash completion script for the Go programming language.
Installation
Debian/Ubuntu
apt.kura.gg
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
Install manually
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
OS X
- 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
Source
The source can be found on GitHub.
Issues
Issues can be tracked using GitHub Issues.
License
This software is licensed using the MIT License. The license is provided in the source code repository.