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

Re: Problems working with bash.



>   Alex> - In tcsh I can type anything on the command line and do a
>   Alex> search on the history list matching this input by pressing
>   Alex> ALT-P. How do I do that with bash?
> 
> I also came from tcsh, therefore I put this in my ~/.inputrc and I'm
> happy ever since 8-)
> 
> ,-----
> | M-p: history-search-backward
> | M-n: history-search-forward
> `-----

In bash it's ^R for reverse, and ^S for forward search, just like in
emacs.  Perhaps if you select vi rules for bash it will use whatever
horror vi uses for searching.

Customization is great, but if you learn unmodified bash then you can
use other folk's systems more easily.  Unless they customized it.

--
Pete Harlan
pete@mymenus.com



Reply to: