Skip to content

How to I make a custom tag-order? #155

Discussion options

You must be logged in to vote

First of all, despite what its name might suggest, tag-order doesn't govern the order in which completions are shown. Instead, it governs the order in which completions are tried within a single completion function. Additionally, it can be used to disable certain completions, by removing them from tag-order.

If you want to change the order in which completions are presented, then group-order is setting you'll need to use. Unlike tag-order, though, it supports neither ! nor patterns, and it expects each group to be added as a separate value.

Additionally, for your setting to override the one defined by zsh-autocomplete, it needs to have more weight. This works similarly to CSS: The more el…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@marlonrichert
Comment options

@L0laapk3
Comment options

Answer selected by marlonrichert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation
3 participants