diff options
Diffstat (limited to 'Completion/X/_x_font')
-rw-r--r-- | Completion/X/_x_font | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Completion/X/_x_font b/Completion/X/_x_font index f4dfef79c..59c628d6d 100644 --- a/Completion/X/_x_font +++ b/Completion/X/_x_font @@ -2,7 +2,7 @@ local expl -_tags any fonts || return 1 +_wanted fonts expl font || return 1 # This *has* to be improved some day... @@ -12,5 +12,4 @@ if (( ! $+_font_cache )); then _font_cache=( "${(@)^${(@f)$(xlsfonts)}%%--*}--" ) fi -_description expl font compadd -M 'r:|-=* r:|=*' "$expl[@]" "$@" -S '' - "$_font_cache[@]" |