Simplistic interactive filtering tool
https://github.com/peco/peco
Vagrant global-status controller for peco
https://github.com/gongo/pecrant
pecrant =$(vagrant global-status | peco) - Thanks Driven Life
- vagrant global-status 便利
- 便利だけど id をコピペして vagrant up $id とかしないといけないのがめんどい
- peco かっこいい
素晴らしさが言葉で上手く表現出来ないので、各ページを参照して下さいw
コマンドラインから vagrant の各 VM に対してどこからでも簡単にコマンドを発行出来る!
私もちょっと弄ってみました。
Mac の iTerm2 専用のパッチではありますが、SSH と Open Terminal Here を入れてみました。
https://github.com/YungSang/pecrant/tree/iterm
たぶん本家は Mac でも Windows でも動くように作ってあるので、
このパッチを Pull Request するのはダメかも。
おまけ:pecrant だと peco と3文字もかぶるので、
alias veco="pecrant"
追記:
vagrant box list | peco
を使って box の管理も出来るようになりました。
$ pecrant box
Usage: pecrant box <command>
update Update the selected vagrant box
remove Remove the selected vagrant box
list List vagrant boxes for this user
help Show this message