Line 7:
Line 7:
== Easy search using arrows ==
== Easy search using arrows ==
−
Create a .inputrc with :
+
Create a .inputrc, or edit your /etc/inputrc, with :
<pre>"\e[A": history-search-backward
<pre>"\e[A": history-search-backward
Line 14:
Line 14:
Next logon you'll be able to search command by start to write them and use up/down arrows.
Next logon you'll be able to search command by start to write them and use up/down arrows.
+
+
<pre>"\e[1;5A": history-search-backward
+
"\e[1;5B": history-search-forward
+
</pre>
+
+
Will allow you to use ctrl+up/down arrows (and your up/down arrows will work as usual).