Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Re: history completion oddity



Sven Wischnowsky wrote:

> Sorry. I meant `... in combination with completion'. How often have
> you completed one of the strings you used on a command line last year
> (and which didn't appear in the history since then)?
Well, since I got it to work yesterday, not very often yet.
But I think you are perfectly right.  Usually I would use it to find a word 
that I used not more than a few days ago, probably just minutes.

> I.e. maybe we could add a style to _history* to complete only the last 
> N words/lines. Probably a bit like that example code in _first,
> i.e. try the last N words/lines, if that doesn't yield matches, try
> the last 2N words/lines, and so on.
That sounds like a _very_ good idea!
 Andy.
-- 
 E-Mail: Andy@xxxxxxxxx     URL: http://andy.spiegl.de
 PGP/GPG: see headers
                                o      _     _         _
  --------- __o       __o      /\_   _ \\o  (_)\__/o  (_)
  ------- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/
  ------ (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Interessante Selbstgespräche 
 setzen einen klugen Partner voraus.  (Herbert G. Wells)



Messages sorted by: Reverse Date, Date, Thread, Author