Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
completion problems with {x,y}
- X-seq: zsh-workers 27234
- From: Dave Yost <Dave@xxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: completion problems with {x,y}
- Date: Thu, 27 Aug 2009 16:46:06 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:mime-version :message-id:date:to:from:subject:content-type; bh=rtn2oEObqbrbjZS3omkfRAIXxZJwftWCiTyY+qywg6Q=; b=w0m2X8NRcoY4Tk02Zd/Dw4qfTb5cYNmTf04yuNX1/1JeJFAxSp2Csv8P4Zahy/6Y+5 LgefRn7njL+4BRISHgmbWd2+v+oQJrYozyNtaZGQSMNgJK/QrmZiz5ZJmoCsc5UebKWK KQpEmllG8EVX8D3eSI1LpFaaxPJfLCoNwh4Xc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:mime-version:message-id:date:to:from:subject:content-type; b=HPLi58PDHY6gqgszsEuUlR7LXVgWYrHNBKu6LUu2ewSaqoI21mZ1cNb+0tZhKjQwFp bmfF2HvdkI7igYajjF/chCM9AG+Iht1bN9z1ZjtTW65jZWDljIF+ewuWNg6MuQNqzSeZ GzEeRaShJYBpNnCCRgkgH++KF4krqvC1JI3bM=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: Dave Yost <daveyostcom@xxxxxxxxx>
Consider:
0 303 Z% ls
foo.cc foo.hh specFooBar.cc specThingy.cc specWhatever.cc
0 304 Z% diff spec{<TAB>
specFooBar.cc specThingy.cc specWhatever.cc
so far so good. But now look at this:
0 300 Z% diff spec{F<TAB>
gets this
0 304 Z% diff spec{FooBar.cc,
specFooBar.cc specThingy.cc specWhatever.cc
instead, recognizing at completing all the way through the .cc is not
useful, it should get this:
0 300 Z% diff spec{FooBar,
specFooBar.cc specThingy.cc specWhatever.cc
Then this,
0 304 Z% diff spec{FooBar,T<TAB>
gets this
0 304 Z% diff spec{FooBar,Thingy.cc,
specFooBar.cc specThingy.cc specWhatever.cc
but should get this
0 304 Z% diff spec{FooBar,Thingy,
specFooBar.cc specThingy.cc specWhatever.cc
Also, if we rm specWhatever.cc, we get this:
0 305 Z% diff spec{<TAB>
specFooBar.cc specThingy.cc
so far so good. But then this
0 305 Z% diff spec{F<TAB>
specFooBar.cc specThingy.cc
should go all the way to this:
0 305 Z% diff spec{FooBar,Thingy}.cc
because what else could I possibly want from tab completion here?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author