Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to get all tagets for rake completion?
- X-seq: zsh-users 26641
- From: Oliver Kiddle <opk@xxxxxxx>
- To: Jörg Sommer <joerg@xxxxxxxx>
- Cc: zsh-users@xxxxxxx
- Subject: Re: How to get all tagets for rake completion?
- Date: Thu, 08 Apr 2021 23:51:43 +0200
- Archived-at: <https://zsh.org/users/26641>
- In-reply-to: <20210404082835.pwkfkoprksgluuqz@jo-so.de>
- List-id: <zsh-users.zsh.org>
- References: <20201215125724.b6qdvvuhr2mwpxbz@jo-so.de> <1047872238.2253883.1608052325319@mail2.virginmedia.com> <20201215214027.a3htwtas6su3fhz5@jo-so.de> <43486-1617149414.412147@zBmo.ESTa.9XAh> <20210331074548.b47tt6d2ekjrwdrs@jo-so.de> <53310-1617184228.244862@cFeP.EmJg.7ARq> <20210404082835.pwkfkoprksgluuqz@jo-so.de>
On 4 Apr, Jörg Sommer wrote:
> > The existing `verbose` style is usually used to conditionally add
> > descriptions to matches, especially where generating those descriptions
> > is slow or where they're of questionable value.
>
> And how about ‘expanded’ or ‘extended’?
Either of those are fine. Though you've not commented on the approach of
inverting the sense of the style and using ignore-<something> which I
think I prefer but I don't know rake so well.
Just pick whatever you think is best and update the patch with that and
it should then be good to commit.
> > Is rake -A giving you a fallback, e.g. "unknown" description for the
> > extra targets or does the description remain blank?
>
> The description remains blank. It looks like this:
> rake www/dev/files/rss # Build main rss file
> rake www/dev/files/sync.html #
Checking the targets=( ... ) assignment and _describe with that appears
to work fine without any further adjustment.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author