1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* misc/rb_optparse.zsh: add compdef for generator.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2010-12-26 23:30:38 +00:00
parent 0924e52c24
commit d298593f56
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Mon Dec 27 07:38:07 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* misc/rb_optparse.zsh: add compdef for generator.
Mon Dec 27 07:32:07 2010 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* lib/optparse.rb (OptionParser#compsys): escape brackets too.

View file

@ -31,6 +31,8 @@ generate-complete-function/ruby/optparse ()
fi
}
compdef _command generate-complete-function/ruby/optparse
for cmd in "$@"; do
generate-complete-function/ruby/optparse "$cmd"
done