about summary refs log tree commit diff
path: root/Completion/User/_netscape
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_netscape')
-rw-r--r--Completion/User/_netscape6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/User/_netscape b/Completion/User/_netscape
index fda41cd35..c6fd084cc 100644
--- a/Completion/User/_netscape
+++ b/Completion/User/_netscape
@@ -77,10 +77,10 @@ if [[ "$state" = "urls" ]]; then
   else
     _tags prefixes
     while _tags; do
-      while _next_label prefixes expl 'URL prefix'; do
-        _urls "$@" && ret=0
+      while _next_label prefixes expl 'URL prefix' "$@"; do
+        _urls "$expl[@]" && ret=0
 	compset -S '[^:]*'
-        compadd "$expl[@]" -S '' about: mocha: javascript: && ret=0
+        compadd -S '' "$expl[@]" about: mocha: javascript: && ret=0
       done
       (( ret )) || return 0
     done