$OpenBSD: patch-Completion_BSD_Command__bsd_pkg,v 1.2 2001/11/18 18:24:19 lebel Exp $
--- Completion/BSD/Command/_bsd_pkg.orig	Wed Sep 19 11:19:32 2001
+++ Completion/BSD/Command/_bsd_pkg	Sun Nov 18 12:45:30 2001
@@ -16,7 +16,7 @@ _bsd_pkg_packages() {
   paths=( "${(@)${(@s.:.)PKG_PATH}:#}" )
   _files "$@" -g \*.tgz && ret=0
   (( $#path )) && _files "$@" -W paths -g \*.tgz && ret=0
-  compadd "$@" - $portsdir/packages/All/*.tgz && ret=0
+  compadd "$@" - $portsdir/packages/$(arch -s)/All/*.tgz && ret=0
 
   return ret
 }
