diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-26 23:30:38 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-26 23:30:38 +0000 |
commit | d298593f56429d97808a15370f0b91aea0ff6bc5 (patch) | |
tree | affbbfb7c082dd46d56e8a067cf56372922caf50 /misc/rb_optparse.zsh | |
parent | 0924e52c246878380ac6bb73f3d6acf44910a9d4 (diff) | |
download | ruby-d298593f56429d97808a15370f0b91aea0ff6bc5.tar.gz |
* 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
Diffstat (limited to 'misc/rb_optparse.zsh')
-rwxr-xr-x | misc/rb_optparse.zsh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/rb_optparse.zsh b/misc/rb_optparse.zsh index 46662cc88a..d53170c5f7 100755 --- a/misc/rb_optparse.zsh +++ b/misc/rb_optparse.zsh @@ -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 |