Re: Command line history -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2004-03-17 at 17:36, Ralph E. Kenyon, Jr. wrote:

> I think this is what you want:
> 
> > 2003 11:52:33 -0500, Robert Spangler <bms@xxxxxxxxxxxxxxxx> wrote:
> >Here is a way to jump directly to the command in the .bash_history file.
> >Edit your /etc/inputrc file and add the following:
> >"\M-[A":history-search-backward
> > "\M-[B":history-search-forward

Hmmm, I just added the above two lines to ~/.inputrc rather than
/etc/inputrc and then did Ctrl-Alt-F1 to a console and logged in to try
it out. That should've read in my ~/.inputrc, right? Well typing the
first few letters of a command I know is in my history and then hitting
the up cursor key just takes me to the previous command in the history
-- i.e. it just does what it always did before. Am I missing something
here?

Best, Darren

-- 
=====================================================================
D. D. Brierton            darren@xxxxxxxxxxx          www.dzr-web.com
       Trying is the first step towards failure (Homer Simpson)
=====================================================================


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux