Skip to content

Commit

Permalink
7z: add .msi support
Browse files Browse the repository at this point in the history
The 7z command line tool supports unpacking `.msi` files. Reference: https://www.7-zip.org/

(I have also tried it personally and noted that bash-completion didn't include these files in its completion.)
  • Loading branch information
perlun authored and scop committed Oct 24, 2018
1 parent 8aa8c84 commit d6b678c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/7z
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ _7z()
_filedir_xspec unzip
[[ $mode == w ]] &&
_filedir '@(7z|bz2|swf|?(g)tar|?(t)[bglx]z|tb?(z)2|wim)' ||
_filedir '@(7z|arj|bz2|cab|chm|cpio|deb|dmg|flv|gem|img|iso|lz[ah]|lzma?(86)|pmd|[rx]ar|rpm|sw[fm]|?(g)tar|taz|?(t)[bglx]z|tb?(z)2|vhd|wim|Z)'
_filedir '@(7z|arj|bz2|cab|chm|cpio|deb|dmg|flv|gem|img|iso|lz[ah]|lzma?(86)|msi|pmd|[rx]ar|rpm|sw[fm]|?(g)tar|taz|?(t)[bglx]z|tb?(z)2|vhd|wim|Z)'
else
if [[ ${words[1]} == d ]]; then
local IFS=$'\n'
Expand Down

0 comments on commit d6b678c

Please sign in to comment.