Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Feature request: two level sorting



On 15 June 2016 at 07:13, Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx> wrote:
> So this is somewhat an amount of code. The group-sort flag could take
> group names of sorted data in additional parameter, e.g.:
> "${(ox:group_letters:)files}"


A mistake, sorry. Besides passing $group_letters, one has also to pass
$groups, so: "${(ox:group_letters::groups:)files}". Hope this doesn't
look sophisticated, the main **thing** is that providing group names
of sorted text is a one line.

Best regards,
Sebastian Gniazdowski



Messages sorted by: Reverse Date, Date, Thread, Author