summary refs log tree commit diff
path: root/Completion/User/_netscape
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-02-08 17:50:26 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-02-08 17:50:26 +0000
commit5723d260c0928b85989bfde7b48f26acf2d9f8c5 (patch)
treed305429682529f33792354265f39cc16ad736546 /Completion/User/_netscape
parent14d2dae44c6ccc408ee2f7b558ea31f28b2b5936 (diff)
downloadzsh-5723d260c0928b85989bfde7b48f26acf2d9f8c5.tar.gz
zsh-5723d260c0928b85989bfde7b48f26acf2d9f8c5.tar.xz
zsh-5723d260c0928b85989bfde7b48f26acf2d9f8c5.zip
add completion for newsgroups (13448)
Diffstat (limited to 'Completion/User/_netscape')
-rw-r--r--Completion/User/_netscape4
1 files changed, 3 insertions, 1 deletions
diff --git a/Completion/User/_netscape b/Completion/User/_netscape
index 2aba6750d..99d6ee45c 100644
--- a/Completion/User/_netscape
+++ b/Completion/User/_netscape
@@ -74,13 +74,15 @@ if [[ "$state" = "urls" ]]; then
     _wanted values expl 'about what' \
         compadd "$@" authors blank cache document fonts global hype image-cache \
             license logo memory-cache mozilla plugins && ret=0
+  elif compset -P news: ; then
+    _newsgroups "$@" && ret=0
   else
     _tags prefixes
     while _tags; do
       while _next_label prefixes expl 'URL prefix' "$@"; do
         _urls "$expl[@]" && ret=0
 	compset -S '[^:]*'
-        compadd -S '' "$expl[@]" about: mocha: javascript: && ret=0
+        compadd -S '' "$expl[@]" about: news: mocha: javascript: && ret=0
       done
       (( ret )) || return 0
     done