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

Re: Re can't the shell do a better job



On Sat, Jan 01, 2005 at 10:01:02AM -0800, Steve Lamb wrote:
>     Well, in the one true shell, zsh, ESC-P and ESC-N will go backwards and 
> forwards in the history respectively.  It will even take the current line 
> as a filter so "ls" followed by multiple ESC-P will bring up my previous ls 
> commands.
> 
>     I always get hung up with that in bash since ESC-P does something 
> completely different there.  Brings up a colon for some reason.  To me it 
> means, "You're not using zsh, stupid, run chsh!"  :)
> 

I always thought it meant add the following lines to ~/.inputrc :-)

"\M-p": history-search-backward
"\M-n": history-search-forward


-- 
 .''`.  Jason Chambers <chambersj@thingy.org.uk> 
: :'  : Registered linux user #271693 
`. `'`  
  `-    http://www.debian.org/ - The Universal Operating System

Attachment: signature.asc
Description: Digital signature


Reply to: