about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_links2
-rw-r--r--Completion/Unix/Command/_lynx2
3 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 58d30e095..0684eab90 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@
 
 2002-09-03  Oliver Kiddle  <opk@zsh.org>
 
+	* unposted: Completion/Unix/Command/_lynx,
+	Completion/Unix/Command/_links: minor bug fix (missing -g)
+
 	* Thomas Köhler: 176xx: Completion/Unix/Command/_ssh: also pass
 	through -F option
 
diff --git a/Completion/Unix/Command/_links b/Completion/Unix/Command/_links
index ce8512fc1..68862bdf2 100644
--- a/Completion/Unix/Command/_links
+++ b/Completion/Unix/Command/_links
@@ -25,5 +25,5 @@ _arguments -C \
        ':url:->html' && return 0
 
 if [[ "$state" = html ]]; then
-  _alternative 'files:file:_files "*.html"' 'urls:url:_urls'
+  _alternative 'files:file:_files -g "*.x#html"' 'urls:url:_urls'
 fi
diff --git a/Completion/Unix/Command/_lynx b/Completion/Unix/Command/_lynx
index 46f2a9410..acc14c106 100644
--- a/Completion/Unix/Command/_lynx
+++ b/Completion/Unix/Command/_lynx
@@ -107,6 +107,6 @@ restrictions)
     outside_telnet print shell suspend telnet_port useragent
   ;;
 html)
-  _alternative 'files:file:_files "*.x#html"' 'urls:url:_urls'
+  _alternative 'files:file:_files -g "*.x#html"' 'urls:url:_urls'
   ;;
 esac