Skip to content

Commit bc10b93

Browse files
committed
feat(bsdtar): support .apk, .ipa and .hap
1 parent 21cf854 commit bc10b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/tar

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ _comp_cmd_tar__detect_ext()
513513
local tars='@(@(tar|spkg)?(.@(Z|[bgx]z|bz2|lz?(ma|o)|zst))|t@([abglx]z|b?(z)2|zst)|cbt|gem|xbps)'
514514
if _comp_cmd_tar__is_bsdtar; then
515515
# https://github.com/libarchive/libarchive/wiki/LibarchiveFormats
516-
tars=${tars/%\)/|pax|cpio|iso|zip|@(j|x)ar|mtree|a|7z|warc}
516+
tars=${tars/%\)/|pax|cpio|iso|zip|apk|ipa|hap|@(j|x)ar|mtree|a|7z|warc}
517517
if _comp_cmd_tar__extract_like_mode; then
518518
# read only
519519
tars+="|l@(ha|zh)|rar|cab)"

0 commit comments

Comments
 (0)