Closed topalovic closed 9 years ago
Maybe you should update the values of inf-ruby-first-prompt-pattern
and inf-ruby-prompt-pattern
accordingly.
@dgutov Thanks for the pointer. I simplified the original pattern down to "\\([[0-9]+] \\)?.*([^)]+)"
and it seems to cover all of my bases.
@topalovic Cool.
Hello.
When running
pry
with a custom prompt and trying to navigate (M-p
,M-n
) or search my input history (M-r
), I get the following error:To reproduce, try adding this to your
.pryrc
:I'm usually setting it to
File.basename(Dir.pwd)
in order to easily differentiate between projects, but it seems that anything other than the default prompt will result inSearch failed
.