On 11/25/19 10:05 AM, Ulf Volmer wrote:
On 25.11.19 15:30, SternData wrote:
> A long time ago, in an operating system far, far away I used a tool
> called PCED. It had one really nice feature: If I had typed a command like
>
> copy a b
>
> it saved it, just like bash does. But when I typed
>
> copy
>
> and pressed up-arrow, it would filter the history entries and show only
> those that started with "copy".
You can have the same behavior with page-up. This feature must be
configured in /etc/inputrc:
# alternate mappings for "page up" and "page down" to search the
history
"\e[5~": history-search-backward
"\e[6~": history-search-forward
which is (AFAIK) default in fedora.
Thank you!