diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/User/_urls | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 6fb1a4bbe..adcbd207e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-06-06 Oliver Kiddle <opk@zsh.org> + + * 11772: Completion/User/_urls: improvements to 11756 suggested by + Bart in 11763 + 2000-06-06 Sven Wischnowsky <wischnow@zsh.org> * 11777: Completion/Core/_expand: make _expand ignore empty 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" |