about summary refs log tree commit diff
path: root/Completion/X/_x_font
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/X/_x_font')
-rw-r--r--Completion/X/_x_font2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/X/_x_font b/Completion/X/_x_font
index 59c628d6d..1be2d3312 100644
--- a/Completion/X/_x_font
+++ b/Completion/X/_x_font
@@ -9,7 +9,7 @@ _wanted fonts expl font || return 1
 if (( ! $+_font_cache )); then
   typeset -gU _font_cache
 
- _font_cache=( "${(@)^${(@f)$(xlsfonts)}%%--*}--" )
+ _font_cache=( "${(@)^${(@f)$(_call fonts xlsfonts)}%%--*}--" )
 fi
 
 compadd -M 'r:|-=* r:|=*' "$expl[@]" "$@" -S '' - "$_font_cache[@]"