Zshでthor (トール)のタスクを補完するための補完関数を作ってみました。

   1  _thor () {
   2    compadd `thor list | awk "{print \\$1}" | grep "\w" | \ 
   3    ruby -e "puts ARGF.read.gsub /\\e.*?m/,''" | xargs`
   4  }
   5  
   6  compdef _thor thor

See Also

posted by Png genki on Mon 29 Dec 2008 at 17:31

Comments:

or Preview
Social Bookmarks
  • Delicious
  • B_entry1166
  • Clip_16_12_w
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ