inf-ruby-prompt-format: Minor cleanup
Support Bond completion

Most of it appropriated from https://github.com/pd/inf-ruby-bond.