1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 07:20:40 +01:00

feat(extract): add cpio support

This commit is contained in:
Xeonacid
2021-06-09 19:29:04 +08:00
committed by Marc Cornellà
parent 59a9b453d3
commit 0b506fea0c
3 changed files with 3 additions and 1 deletions

View File

@@ -70,6 +70,7 @@ extract() {
;;
(*.zst) unzstd "$1" ;;
(*.cab) cabextract -d "$extract_dir" "$1" ;;
(*.cpio) cpio -idmvF "$1" ;;
(*)
echo "extract: '$1' cannot be extracted" >&2
success=1