bash completion

Francisco Borges francisco.borges at gmail.com
Mon Mar 3 12:38:10 UTC 2008


On Mon, Mar 3, 2008 at 12:17 PM, Mauro Grauso <maurograuso at gmail.com> wrote:
> You don't have to setup anything special just use CTRL+r and type
>  something. Bash searches in the command history and fills the command.
>  To search for the next occurrence of your search string use CTRL-r
>  again.

I may be spliting hairs here, but FWIW the behaviour he described
looks like 'history-search-backward, and not like
'reverse-search-history (which is normally bound to C-r).

AFAICT the main difference being that  reverse-search-history is
incremental (first hit C-r, and then type), and
history-search-backward is non-incremental (first type, and then
search).

I do agree that simply using C-r is a much simpler way to accomplish
backward-search, since it is set by default.

Cheers,
-- 
Francisco




More information about the kubuntu-users mailing list