summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2000-06-06 19:43:29 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2000-06-06 19:43:29 +0000
commitaafc585164371de74cafb68428b827a396043c1b (patch)
tree34aab4584cd99ab04a961b46583717c9b7d5dfe7 /Completion
parent423543d389101594269ded5d386affd01c9f2edf (diff)
downloadzsh-aafc585164371de74cafb68428b827a396043c1b.tar.gz
zsh-aafc585164371de74cafb68428b827a396043c1b.tar.xz
zsh-aafc585164371de74cafb68428b827a396043c1b.zip
Use slightly cleaner syntax (11772)
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"