bug-bash
[Top][All Lists]
Advanced

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

Re: Feature Idea: Enhanced Tab Completion


From: Ken Irving
Subject: Re: Feature Idea: Enhanced Tab Completion
Date: Sat, 21 Mar 2009 09:16:12 -0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, Mar 21, 2009 at 01:01:51PM -0400, Cam Cope wrote:
> On Sat, Mar 21, 2009 at 11:48 AM, Chet Ramey <address@hidden> 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, address@hidden, 907-474-6152
Water and Environmental Research Center
Institute of Northern Engineering
University of Alaska, Fairbanks




reply via email to

[Prev in Thread] Current Thread [Next in Thread]