From ced9b25578d91d1f2eeeeca08a3753ed8e2cebe5 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Mon, 5 Aug 2002 11:37:43 +0000 Subject: 17499: BSD pkg_* tools now support bzip2'd packages --- Completion/BSD/Command/_bsd_pkg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion/BSD') diff --git a/Completion/BSD/Command/_bsd_pkg b/Completion/BSD/Command/_bsd_pkg index c8bd6d6d5..81b187134 100644 --- a/Completion/BSD/Command/_bsd_pkg +++ b/Completion/BSD/Command/_bsd_pkg @@ -16,9 +16,9 @@ _bsd_pkg_pkgfiles() { pkgsdir=${PACKAGES:-$portsdir/packages}/All paths=( "${(@)${(@s.:.)PKG_PATH}:#}" ) - _files "$@" -g \*.tgz && ret=0 - (( $#path )) && _files "$@" -W paths -g \*.tgz && ret=0 - compadd "$@" - $pkgsdir/*.tgz && ret=0 + _files "$@" -g '*.t[bg]z' && ret=0 + (( $#path )) && _files "$@" -W paths -g '*.t[bg]z' && ret=0 + compadd "$@" - $pkgsdir/*.t[bg]z && ret=0 return ret } -- cgit 1.4.1