From 63b336243fdf5e60058472fa456ed11e75280189 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 21 Jan 2004 13:53:28 +0000 Subject: 19387: add (-.) glob qualifier to globs where only files are directly applicable --- Completion/Unix/Command/_links | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Command/_links') diff --git a/Completion/Unix/Command/_links b/Completion/Unix/Command/_links index 47869ad6a..d2bc9be14 100644 --- a/Completion/Unix/Command/_links +++ b/Completion/Unix/Command/_links @@ -29,7 +29,7 @@ _arguments -C \ case $state in html) - _alternative 'files:file:_files -g "*.x#html"' 'urls:url:_urls' && ret=0 + _alternative 'files:file:_files -g "*.x#html(-.)"' 'urls:url:_urls' && ret=0 ;; graphics_drivers) vals=(${=${${${(f)"$(_call_program links-graphics-drivers links -driver help 2>&1)"}[-1]}//','/''}} ) -- cgit 1.4.1