vagrant-bash-completion is as it sounds - bash completion script for Vagrant.
They were originally written by Nikita Fedyashev, I just modified his work and made some changes. Eventually he ended up deleting his version and forking mine.
Originally the completion scripts were meant to be used by myself and developers from my company, but they started to gain traction and now are quite widely used.
OS X support was added by Conor McDermottroe and Nils Caspar added it to Homebrew with additional OS X/Homebrew documentation from Dean Malmgren
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 vagrant-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/vagrant-bash-completion/master/etc/bash_completion.d/vagrant -O /etc/bash_completion.d/vagrant
. ~/bashrc
OS X
- With homebrew you can install the
- vagrant-completion recipe to use this plugin
brew tap homebrew/completions
brew install vagrant-completion
then add the following lines to your ~/.bashrc
if [ -f `brew --prefix`/etc/bash_completion.d/vagrant ]; then
source `brew --prefix`/etc/bash_completion.d/vagrant
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.