Zsh用のgit-svnサブコマンド補完関数を書いてみました。

   1  _git-svn () {
   2    `git-svn --help | grep "^  \w" | sed "s/^  //" | sed "s/ .*//" | sed 's/^/ compadd /'`
   3  }
   4  
   5  compdef _git-svn git-svn

git-svn [TAB]でも、git svn [TAB]でも、どちらでも補完できます。

posted by Png genki on Wed 28 May 2008 at 20:33 with 1 comment

Comments:

Png 瀧内元気 almost 16 years ago.

例によって.zshrcのなかに記述するか、インポートさせてください。

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