about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-09-03 20:02:50 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-09-03 20:02:50 +0000
commit58ff8e64c67e6c7f4db63b753f4ca20a3584fa36 (patch)
tree215ba0e4015e00b9a3b1cdcb94b2f4467014bcfd
parent56565320c18ec4ba9e7ca4ad7207b62eccc50f7b (diff)
downloadzsh-58ff8e64c67e6c7f4db63b753f4ca20a3584fa36.tar.gz
zsh-58ff8e64c67e6c7f4db63b753f4ca20a3584fa36.tar.xz
zsh-58ff8e64c67e6c7f4db63b753f4ca20a3584fa36.zip
fix minor bug - -g to _files was missing despite presence of the glob
-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