LoginSignup
56
57

More than 5 years have passed since last update.

Peco & Pecrant が素晴らしい

Last updated at Posted at 2014-06-20

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
56
57
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
56
57