zsh-workers
 help / color / mirror / code / Atom feed
From: Dave Yost <Dave@Yost.com>
To: zsh-workers@sunsite.dk
Subject: completion problems with {x,y}
Date: Thu, 27 Aug 2009 16:46:06 -0700	[thread overview]
Message-ID: <pdy98830624080cc6bcc806c238@[192.168.1.2]> (raw)

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?


                 reply	other threads:[~2009-08-28 11:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='pdy98830624080cc6bcc806c238@[192.168.1.2]' \
    --to=dave@yost.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).