about summary refs log tree commit diff
path: root/Completion/User/_lynx
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_lynx')
-rw-r--r--Completion/User/_lynx9
1 files changed, 6 insertions, 3 deletions
diff --git a/Completion/User/_lynx b/Completion/User/_lynx
index e3b57a9b4..5da1e71cf 100644
--- a/Completion/User/_lynx
+++ b/Completion/User/_lynx
@@ -37,10 +37,10 @@ _arguments -C \
   '-head' \
   '-help' \
   '-historical' \
-  '-homepage=:URL: _urls -f' \
+  '-homepage=:URL:->html' \
   '-image_links' \
   '-ismap' \
-  '-index=:URL: _urls -f' \
+  '-index=:URL:->html' \
   '-link=:NUMBER:' \
   '-localhost' \
   '-locexec' \
@@ -95,7 +95,7 @@ _arguments -C \
   '-version' \
   '-vikeys' \
   '-width=:NUMBER:' \
-  ':url: _urls -f'
+  ':url:->html'
 
 case "$state" in
 restrictions)
@@ -106,4 +106,7 @@ restrictions)
     multibook news_post options_save outside_ftp outside_news outside_rlogin \
     outside_telnet print shell suspend telnet_port useragent
   ;;
+html)
+  _files -g '*.html' || _urls
+  ;;
 esac