Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: globcomplete desctroys file completion
- X-seq: zsh-workers 26607
- From: JÃrg Sommer <joerg@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: globcomplete desctroys file completion
- Date: Thu, 26 Feb 2009 00:24:04 +0000 (UTC)
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=gnuu.de; s=banki; t=1235608238; i=@xxxxxxxxxxxx; bh=OfnXe+X+YZa4BOCRp0i5+nmGeLVgcaedX yvYKyhi6VU=; h=To:From:Subject:Date:Message-ID:References: Mime-Version:Content-Type:Content-Transfer-Encoding:Sender; b=AHsP 7nWKzIHLkW99Hy9EOToSGsH2c5L9eglbku7/IcKKqknjTcjbDqGknL3MBmgc/u1kjpA 8AZ6B6B4AXkgmI5Mr62ZFaZHfNXgoGJbJghGZ8M2WOLg1foovHKPBOY3fc0z3FHKSpj 8oa8RsOsZQHAe0WS6jh1v3t2Lro80MxZE=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <slrngq038s.2hh.joerg@xxxxxxxxxxxx> <090221111624.ZM12907@xxxxxxxxxxxxxxxxxxxxxx> <090221165745.ZM13030@xxxxxxxxxxxxxxxxxxxxxx> <20090225203949.5e203b85@pws-pc> <20090225204844.08a39c17@pws-pc>
- Sender: news <news@xxxxxxxxxxxx>
Hallo Peter,
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> On Wed, 25 Feb 2009 20:39:49 +0000
> Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
>> Indeed, comparing with the code in 4.2 (before the $Uopt stuff was added)
>> suggests it should probably be something like the following anyway,
>> though I don't have the set-up to test whether it helps here.
>
> Scratch that, it's simpler---we never want two -s's, we just want to
> ensure $ISUFFIX is there when needed. This time I do have some evidence
> this is doing better things with GLOBCOMPLETE set than previously.
Now, there's a completion and looks good:
% print -l g*/d*/s*
git/debian/slrn
git/debian/slrn_1.0.0~pre2.orig.tar.gz
git/deborphan/src
(with globcomplete)
% print -l g/d/s<1st TAB>
% print -l git/deb/s<2nd TAB>
^ cursor is here
% print -l git/deb/s<3rd TAB>
default
debian/ deborphan/
% print -l git/debian/slrn/<4th TAB>
default
debian/ deborphan/
% print -l git/debian/slrn_1.0.0\~pre2.orig.tar.gz<5th TAB>
default
debian/ deborphan/
% print -l git/deborphan/src/<6' TAB>
default
debian/ deborphan/
% print -l git/debian/slrn/
default
debian/ deborphan/
Except from that the menu list doesn't match the possible completions,
the completion offers all options. This fixes my problem. Thanks.
SchÃne GrÃÃe, JÃrg.
--
IRC: Der [Prof. Andreas Pfitzmann, TU Dresden] hat gerade vorgeschlagen, sie
sollen doch statt Trojanern die elektromagnetische Abstrahlung nutzen. Das
sei nicht massenfÃhig, ginge ohne Eingriff ins System, sei zielgerichtet,
und, der Hammer, das funktioniere ja bei Wahlcomputern schon sehr gut.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author