_universalarchive 186 B

123456
  1. #compdef ua
  2. _arguments \
  3. "1:archive format:(7z bz2 gz lzma lzo rar tar tar.bz2 tar.gz tar.lzma tar.xz tar.Z tbz tgz tlz txz tZ xz Z zip zst)" \
  4. "*:input files:_files" \
  5. && return 0