Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#379942: zsh: rake completion doesn't work for tasks with colons in their names
- X-seq: zsh-workers 22600
- From: "Nikolai Weibull" <now@xxxxxxxx>
- To: "Michal Politowski" <mpol@xxxxxxxxxxxxxxxxxxx>, 379942@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#379942: zsh: rake completion doesn't work for tasks with colons in their names
- Date: Sun, 13 Aug 2006 16:58:25 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=EjcrmevBzZmbJ9TGjwGYlLaAPl8qSvMX6UKvmXcFjAFvyFbfuANLdGukgC+YYEFwCGPMfZFRe2L6g7U6WaZhNzo41vcRZ45lqhu/KKSBp1b2FNRA5CLlHPLYSJNX9t5Kgz3oWEXyTEBA/lBChnOlsTQLsgkhRUHf4Q9OTXzjqMM=
- In-reply-to: <20060807032130.GA4406@xxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20060726131212.GA2474@xxxxxxx> <20060806013217.GA18267@xxxxxxxxxxx> <20060806172622.GA29362@xxxxxxx> <20060807032130.GA4406@xxxxxxxxxxx>
- Sender: nikolai.weibull@xxxxxxxxx
On 8/7/06, Clint Adams <schizo@xxxxxxxxxx> wrote:
> Certainly. Attached (probably more than is relevant).
> BTW, this is rake 0.7.1-1 from unstable and, as can be probably guessed,
> the Rakefile comes from rails.
See if this fixes it.
Not quite. It presents you with the correct completions, but it won't
actually complete anything beyond the first namespace, or colon. Try
the following:
rake db
in a ruby-on-rails project directory. You'll be presented with a
bunch of possible completions, including "db:migrate" and the command
line is completed to
rake db:
(in my setup anyway). Then, when I type an 'm' and run completion
again, no completions are available. Actually, after the unique
prefix is completed, i.e., 'db:' no completions are available any
more.
Adding 'r:|[:]=*' to ones matcher-list makes it work, but should this
really be necessary?
nikolai
Messages sorted by:
Reverse Date,
Date,
Thread,
Author