The [documentation][1] says
> zstyle ':completion:*:aliens:*' tag-order \
> 'frooble:-funny:funny\ frooble' frooble
>which is used when you're completing for the command aliens, which
presumably has completions tagged as `frooble' ...
I understand that both context and tag can be viewed using ^Xh.
So, I tried the following command but suggestion did not show the tags.
% zstyle ':completion:*:aliens:*' tag-order 'frooble:-funny:funny\
frooble' frooble
% aliens TAB
Completing file
Desktop/ Documents/ dotfiles/ Downloads/
% aliens ^Xh
tags in context :completion::complete:aliens::
globbed-files (_files _default)
% aliens frooble ^Xh
tags in context :completion::complete:aliens::
globbed-files (_files _default)
I think I am doing something wrong with
> completions tagged as `frooble'
Please help me understand how to use tags in zsh completion system.
[1]: http://zsh.sourceforge.net/Guide/zshguide06.html#l155