<div class="gmail_quote">On 14 January 2012 04:47, Nikolaus Rath <span dir="ltr"><<a href="mailto:Nikolaus@rath.org">Nikolaus@rath.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":1hb">Oh, ipython is using readline? I assumed it was using something else,<br>
because of the history behavior. In all readline programs I known<br>
pressing up-arrow brings you to the previous input, but in ipython it<br>
brings you to the most-recent input starting with the substring of the<br>
current input up to the cursor position. If that's a readline feature,<br>
I'll have to try to make bash use it as well. It takes a while to get<br>
used to, but then it's really convenient.</div></blockquote></div><br>I've set bash up to do the same by adding these lines to my .inputrc:<br><br>"\e[A": history-search-backward<br>"\e[B": history-search-forward<br>
<br>Thomas<br>