On Sat, Mar 21, 2009 at 01:01:51PM -0400, Cam Cope wrote: > On Sat, Mar 21, 2009 at 11:48 AM, Chet Ramey <chet.ra...@case.edu> wrote: > > Cam Cope wrote: > > > Combine tab completion with history: when you put ! at the beginning of a > > > command and use tab completion, it displays history results > > > > What do you mean by `history results'? > > > I'm sorry if the feature has already been implemented, I haven't heard of > any way to implement it. This is what I was thinking of: > Right now, if you run history, it will list out all the recently used > commands, and then you could run !360 to run that history result. Often I'm > looking for a specific command that I don't want to retype the options for. > Instead of having to do history | grep commandname and then !###, just start > typing !commandname and hit tab to see history entries that start with it.
This sounds a lot like what you get with the reverse-search-history command, bound to control-r (C-r), a great feature indeed. Ken -- Ken Irving, fn...@uaf.edu, 907-474-6152 Water and Environmental Research Center Institute of Northern Engineering University of Alaska, Fairbanks