From 14fa595f66748912326dc1320edea29add93a170 Mon Sep 17 00:00:00 2001 From: Noam Barnea Date: Sat, 22 Sep 2018 20:19:51 +0300 Subject: gitlab !2: _toilet: detect .flf files as well as .tlf ones --- ChangeLog | 5 +++++ Completion/Unix/Command/_toilet | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9c94f2d57..60ac508c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-09-23 Oliver Kiddle + + * gitlab !2: Noam Barnea: Completion/Unix/Command/_toilet: + detect .flf files as well as .tlf ones + 2018-09-21 Peter Stephenson * 43511: Src/input.c: alias entry on input stack wasn't 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]' \ -- cgit 1.4.1