Skip to content

Instantly share code, notes, and snippets.

@ymkins
Forked from OleMchls/gist:2384354
Last active April 7, 2017 09:39
Show Gist options
  • Save ymkins/8c76d5a6520108ea366e79eb6be2c72f to your computer and use it in GitHub Desktop.
Save ymkins/8c76d5a6520108ea366e79eb6be2c72f to your computer and use it in GitHub Desktop.
Vagrant bash autocomplete
# Autocompletion for Vagrant just put this line in your ~/.bashrc
complete -W "$(vagrant list-commands | awk 'NR>3 {print $1}')" vagrant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment