From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16972 invoked from network); 21 Jun 2000 09:13:44 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 21 Jun 2000 09:13:44 -0000 Received: (qmail 18711 invoked by alias); 21 Jun 2000 09:13:24 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12013 Received: (qmail 18704 invoked from network); 21 Jun 2000 09:13:23 -0000 Date: Wed, 21 Jun 2000 11:13:06 +0200 (MET DST) Message-Id: <200006210913.LAA06008@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Andy Spiegl's message of Wed, 21 Jun 2000 11:06:26 +0200 Subject: Re: PATCH: Re: history completion oddity Andy Spiegl wrote: > Hi Sven, > > > P.S.: HISTSIZE=15000 doesn't seem to make any sense to me, I doubt > > that this will ever be used... > Hm, I do use it. I started with a smaller histsize, but the longer I use > zsh the more I would like to keep in the history. I like to keep track of > almost everything I am doing, because I have a very bad memory. 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)? 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. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de