HEX
Server: Apache
System: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User: u117253157 (2065952)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //usr/share/zsh/functions/Completion/X/_x_font
#autoload

local expl

_tags fonts || return 1

# This *has* to be improved some day...

if (( ! $+_font_cache )); then
  typeset -gU _font_cache

 _font_cache=( ${(f)"$(_call_program fonts xlsfonts)"} )
fi

_wanted fonts expl font \
    compadd -M 'r:|-=* r:|=*' "$@" -a - _font_cache