Bug 257893 - [WISH]: Refine history searches by typing the beginning of the command
Summary: [WISH]: Refine history searches by typing the beginning of the command
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-25 17:10 UTC by jonas
Modified: 2010-11-26 10:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jonas 2010-11-25 17:10:33 UTC
Version:           unspecified (using KDE 4.5.3) 
OS:                Linux

When looking for a command you already used before you can scroll through the previous commands by using the 'up' and 'down' arrows.
It would be really nice, if this behaviour would be combined with some kind of tab completion:

You type in the beginning of the command and press 'up' and you can scroll through all commands in your history with that beginning.

So for "sudo apt-get update && sudo apt-get upgrade", you just type in "sudo apt" and the press 'up' and all previous commands that started with "sudo apt" appear.

Reproducible: Didn't try




I'm not sure if this is the right place to report this feature request. In the case you don't feel responsible: Could you please refer me to the right place?
Comment 1 Hans-Rudi Denzler 2010-11-25 17:35:56 UTC
/usr/share/doc/packages/bash/bashref.html > reverse-search-history (C-r)

Just type Ctrl + R, type e.g. rp, Ctrl + R, Ctrl + R
(reverse-i-search)`rp': rpm -qa | grep kernel
Comment 2 jonas 2010-11-25 18:04:30 UTC
Oh. Thank you very much for the hint. I'm sorry for taking up your time.
Comment 3 Christoph Feck 2010-11-25 22:13:53 UTC
Here I just type the first letters, and press PgUp/PgDown. Might be a bash configuration (I use openSUSE).
Comment 4 Hans-Rudi Denzler 2010-11-26 10:08:54 UTC
see /etc/inputrc