Bug 257893

Summary: [WISH]: Refine history searches by typing the beginning of the command
Product: [Applications] konsole Reporter: jonas <jonasmueller>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: hr.denzler
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

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