Files
oh-my-bash/plugins/vagrant/README.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
2.0 KiB
Markdown
Raw Normal View History

2022-07-07 21:37:16 +02:00
# vagrant plugin
## Introduction
2022-07-08 05:28:38 +09:00
The `vagrant plugin` adds several useful aliases for [vagrant](https://www.vagrantup.com/downloads) commands and [aliases](#aliases).
2022-07-07 21:37:16 +02:00
2022-07-08 05:28:38 +09:00
To use them, add `vagrant` to the `plugins` array of your bashrc file:
2022-07-07 21:37:16 +02:00
2022-07-08 05:28:38 +09:00
```bash
2022-07-07 21:37:16 +02:00
plugins=(... vagrant)
```
## Aliases
2022-07-08 05:28:38 +09:00
| Command | Description |
|:-------------------|:-------------------------------------------------------------|
2022-07-07 21:37:16 +02:00
| `va` | command `vagrant` |
| `vaver` | Show the vagrant version in this host |
| `vaconf` | command `vagrant ssh-config` |
| `vastat` | command `vagrant global-status` |
| `vacheck` | command `vagrant validate` |
| `vaport` | command `vagrant port` |
| `vapvm` | command `vagrant plugin install *[ virtualbox \| libvirt ]*` |
| `vapi` | command `vagrant plugin install *[ package ]*` |
| `vapr` | command `vagrant plugin uninstall *[ package ]*` |
| `vau` | command `vagrant up *[ virtualbox \| libvirt ]*` |
| `vah` | command `vagrant halt` |
| `vat` | command `vagrant destroy -f` |
| `vai` | command `vagrant init -m *[ centos/7 ]*` |
| `varel` | command `vagrant reload` |
| `vassh` | command `vagrant ssh *[ machine1 ]*` |
2022-07-07 21:37:16 +02:00
| `vaba` | command `vagrant box add` |
| `vabr` | command `vagrant box remove` |
| `vabl` | command `vagrant box list` |