> It's possible but it's not clear if you're talking about invoking it in
> irb or a unix shell. If in irb, you can invoke a ruby method as you'd
> like if you put this in ~/.inputrc:
>
> $if Ruby
>   "\C-x\C-p": "toggle_object_complete\n"
> $endif

If it was a unix shell, what would be the solution?

-- 
Posted via http://www.ruby-forum.com/.