about summary refs log tree commit diff
path: root/Completion/User/_netscape
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-13 17:50:30 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-13 17:50:30 +0000
commit8746ae9979dc8cccef856300f14f6d98b4285d5a (patch)
tree21eb594cb028f825ad5583b0a56666b2e7a076dd /Completion/User/_netscape
parentad92f962259d359e561d1c0f657f6a731739b3e1 (diff)
downloadzsh-8746ae9979dc8cccef856300f14f6d98b4285d5a.tar.gz
zsh-8746ae9979dc8cccef856300f14f6d98b4285d5a.tar.xz
zsh-8746ae9979dc8cccef856300f14f6d98b4285d5a.zip
zsh-workers/8231
Diffstat (limited to 'Completion/User/_netscape')
-rw-r--r--Completion/User/_netscape6
1 files changed, 4 insertions, 2 deletions
diff --git a/Completion/User/_netscape b/Completion/User/_netscape
index f176083d2..11f583dd5 100644
--- a/Completion/User/_netscape
+++ b/Completion/User/_netscape
@@ -1,6 +1,7 @@
 #compdef netscape
 
-local state
+local state line
+typeset -A opt_args
 
 _x_arguments \
   '-xrm:resource:_x_resource' \
@@ -69,7 +70,8 @@ if [ "$state" = "urls" ]; then
     compadd authors blank cache document fonts global hype image-cache \
         license logo memory-cache mozilla plugins
   else
-    compadd -S '' about: mocha: javascript:
+    _description expl 'URL prefix'
+    compadd "$expl[@]" -S '' about: mocha: javascript:
     _urls "$@"
   fi
 fi