From aafc585164371de74cafb68428b827a396043c1b Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Tue, 6 Jun 2000 19:43:29 +0000 Subject: Use slightly cleaner syntax (11772) --- Completion/User/_urls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion') 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" -- cgit 1.4.1