Make reverse history search (ctrl-r) work in pry on OSX