about summary refs log tree commit diff
path: root/Completion
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 /Completion
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
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_links2
-rw-r--r--Completion/Unix/Command/_lynx2
2 files changed, 2 insertions, 2 deletions
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