about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorNoam Barnea <noammac.yuval2@gmail.com>2018-09-22 20:19:51 +0300
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-09-23 18:04:37 +0200
commit14fa595f66748912326dc1320edea29add93a170 (patch)
treeffaf95e8294dcc0bb6a6d97d4a9769e1cf5d9cf5 /Completion/Unix/Command
parente76ea18477b044cd24deb4ee7bdd5bb8f0a6d47e (diff)
downloadzsh-14fa595f66748912326dc1320edea29add93a170.tar.gz
zsh-14fa595f66748912326dc1320edea29add93a170.tar.xz
zsh-14fa595f66748912326dc1320edea29add93a170.zip
gitlab !2: _toilet: detect .flf files as well as .tlf ones
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_toilet2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_toilet b/Completion/Unix/Command/_toilet
index 2c2b8682a..a8867769b 100644
--- a/Completion/Unix/Command/_toilet
+++ b/Completion/Unix/Command/_toilet
@@ -6,7 +6,7 @@ typeset -A opt_args
 fontdir=$(_call_program path toilet -I2 2>/dev/null)
 
 _arguments \
-  '(-f --font)'{-f,--font}'[specify font]:font:_files -W ${~opt_args[-d]\:-$fontdir} -g \*tlf\*\(-.\:r\)' \
+  '(-f --font)'{-f,--font}'[specify font]:font:_files -W ${~opt_args[-d]\:-$fontdir} -g \*\[ft\]lf\*\(-.\:r\)' \
   '(-d --directory)'{-d,--directory}'[specify font directory]:font directory:_files -/' \
   '(-t --termwidth -w --width)'{-w,--width}'[set output width]:width:' \
   '(-t --termwidth -w --width)'{-t,--termwidth}'[adapt to terminal width]' \