zsh-workers
 help / color / mirror / code / Atom feed
* completion problems with {x,y}
@ 2009-08-27 23:46 Dave Yost
  0 siblings, 0 replies; only message in thread
From: Dave Yost @ 2009-08-27 23:46 UTC (permalink / raw)
  To: zsh-workers

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?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-28 11:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-27 23:46 completion problems with {x,y} Dave Yost

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).