Macの環境でstat -cが使えなかったので、ついでに以前作成した Rakeタスク補完関数を書き換えてみました。

   1  _rake () {
   2    if [ -f Rakefile ]; then
   3      compadd `rake -T | awk "{print \\$2}" | xargs`
   4    fi
   5  }
   6  
   7  compdef _rake rake

posted by Png genki on Fri 12 Sep 2008 at 06:58 with 1 comment

Comments:

Png 瀧内元気 over 15 years ago.

xargs便利だね!

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