Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Making file-patterns and tag-order work
On Mar 22, 4:35pm, martin f krafft wrote:
}
} also sprach Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> [2017-03-22 14:15 +1300]:
} > } zstyle ':completion:*:argument*' tag-order "
} > } directories
} > } globbed-files files all-files
} > } backup-files
} > } compiled-files
} > } temp-files
} > } vim-swap-files
} > } "
} >
} > This is wrong. If you combine tags into a single string, they
} > will all be sorted together. tag-order is a list -- try without
} > the double quotes around the value (which means you'll need
} > backslashes at the end of each line, or similar).
}
} I also tried that. It makes absolutely no difference, actually.
Oops, my bad. You want group-order here, not tag-order.
group-order
This style is additional to the group-name style to specify the
order for display of the groups defined by that style (compare
tag-order, which determines which completions appear at all).
I'm surprised no one else jumped in on this. The fact that they're both
named "-order" is a bit confusing; for tag-order, it means the order in
which the completions are attempted, and for group-order it means the
order in which the results are displayed.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author