Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/monochromegane/vagrant-peco
A peco tool for vagrant-global-status.
https://github.com/monochromegane/vagrant-peco
Last synced: 3 months ago
JSON representation
A peco tool for vagrant-global-status.
- Host: GitHub
- URL: https://github.com/monochromegane/vagrant-peco
- Owner: monochromegane
- License: mit
- Created: 2014-09-06T09:57:59.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-26T16:33:36.000Z (over 7 years ago)
- Last Synced: 2024-06-28T07:35:02.841Z (5 months ago)
- Language: Shell
- Size: 426 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vagrant-peco
A peco tool for vagrant-global-status.
## Description
### A peco tool
You can select vagrant global-status ID by peco, and the ID is passed to vagrant command.
### Fast boot
vagrant-peco depends on [vagrant-global-status](https://github.com/monochromegane/vagrant-global-status) command.
It is faster than native `vagrant global-status`.### Loading direnv file
If you use `direnv` on your vagrant path, vagrant-peco loads `.envrc` before executes vagrant command.
## Usage
```console
$ vagrant-peco
```You can specify same vagrant command (ex. status, up, halt...).
### vagrant-peco up
![](./images/vagrant-peco-up.gif)
### vagrant-peco halt (select multiple)
![](./images/vagrant-peco-multiple-selection.gif)
## Installation
```console
$ cd $PATH
$ curl -O https://raw.githubusercontent.com/monochromegane/vagrant-peco/master/vagrant-peco
$ chmod +x ./vagrant-peco
```### Note
`vagrant-peco` depends on the following.
- [peco](https://github.com/peco/peco)
- [Vagrant 1.6 or higher (vagrant global-status)](http://www.vagrantup.com/blog/feature-preview-vagrant-1-6-global-status.html)
- [vagrant-global-status](https://github.com/monochromegane/vagrant-global-status)## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request