#compdef ppkg cpkg dpkg upkg vpkg ipkg gpkg wpkg pkgrepo pkgsu xtar vtar case $service in (cpkg) _command_names -e ;; (?pkg) _wanted file expl 'Pkg User' _users ;; (pkgrepo|pkgsu) _wanted file expl 'Pkg User' _users ;; ([xv]tar) _wanted file expl 'Tarball' _files -g '*.{t{gz,bz{,2},lz,xz},tar.{Z,gz,bz2,lzma,xz}}(-.)' ;; esac