mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-20 05:53:52 +01:00
moved to Completion/X/Type/_x_font
This commit is contained in:
parent
c62d9f3061
commit
9b12b98be9
@ -1,16 +0,0 @@
|
||||
#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 fonts xlsfonts)}%%--*}--" )
|
||||
fi
|
||||
|
||||
_wanted fonts expl font \
|
||||
compadd -M 'r:|-=* r:|=*' "$@" -S '' -a _font_cache
|
Loading…
Reference in New Issue
Block a user