summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
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