bash completion
Francisco Borges
francisco.borges at gmail.com
Mon Mar 3 10:19:43 UTC 2008
On Mon, Mar 3, 2008 at 11:03 AM, Constantinos Maltezos
<pandarsson at yahoo.com> wrote:
> If there are any command line experts here, maybe you can answer a quick
> question:
>
> On my desktop machine, bash allows me to type a partial command, press page up
> and cycle through the commands in my history that start with what I typed.
> How do I set up bash so it'll work that way on this machine?
I am not a bash user ;-) but I think you have the bash function
"history-search-backward" bound to PageUp.
>From the bash manual
history-search-backward
Search backward through the history for the string of
characters between the
start of the current line and the point. This is a
non-incremental search.
Try using:
bind -P
to see if that function is really bound to page up (or to discover
which is the function bound to the key); and then use bind ("man
bash-builtins") to bind page up to it on your .bashrc.
AFAIK to get a "page up" literal, you should hit C-v (control-v), and
then hit 'page-up".
HTH,
--
Francisco
More information about the kubuntu-users
mailing list