{"issue":{"created_at":"2011-11-30T17:13:02Z","state":"closed","updated_at":"2011-12-05T08:59:28Z","user":{"gravatar_id":"c0225f8150e28b85666b511e0bbca258","id":22861,"url":"https://api.github.com/users/no6v","avatar_url":"https://secure.gravatar.com/avatar/c0225f8150e28b85666b511e0bbca258?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"no6v"},"comments":2,"body":"入力の先頭で : で始まる文字列を補完しようとした時はコマンドだけを候補として返すようにしてみました。\r\nこれでコマンド名をタイポしても平気です :)。\r\n\r\nReadline.point は Readline.line_buffer と同時にサポートされているので多分使えると思いますが、\r\n実装されてないと NotImplementedError になって後置 rescue では拾えないので ext.rb とかで\r\n手当てが必要かもしれません。\r\n","assignee":null,"id":2404458,"pull_request":{"patch_url":"https://github.com/jugyo/earthquake/pull/85.patch","html_url":"https://github.com/jugyo/earthquake/pull/85","diff_url":"https://github.com/jugyo/earthquake/pull/85.diff"},"labels":[],"number":85,"title":"return only command candidates if it seems like a command","html_url":"https://github.com/jugyo/earthquake/issues/85","closed_at":"2011-12-05T06:56:31Z","url":"https://api.github.com/repos/jugyo/earthquake/issues/85","milestone":null},"action":"created","comment":{"created_at":"2011-12-05T08:59:28Z","updated_at":"2011-12-05T08:59:28Z","user":{"gravatar_id":"c0225f8150e28b85666b511e0bbca258","id":22861,"url":"https://api.github.com/users/no6v","avatar_url":"https://secure.gravatar.com/avatar/c0225f8150e28b85666b511e0bbca258?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"no6v"},"body":"あざっす。ちょうどヒストリに :rece ってのが残ってて、これがないとツラいです :)。","id":3013409,"url":"https://api.github.com/repos/jugyo/earthquake/issues/comments/3013409"}}