about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/User/_urls4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/User/_urls b/Completion/User/_urls
index b9cb3dad8..f9aa69f6d 100644
--- a/Completion/User/_urls
+++ b/Completion/User/_urls
@@ -52,8 +52,8 @@ if [[ "$1" = -f ]]; then
   _wanted -C -f files expl file _files "$@" && return 0
 fi
 
-zparseopts -D -E 'g:=glob'
-(( $#glob )) || glob=( -g '*(^/)' )
+zparseopts -D -E g:=glob
+: ${(A)=glob:=-g '*(^/)'}
 
 ipre="$IPREFIX"