mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
feat(extract): add cpio support
This commit is contained in:
parent
59a9b453d3
commit
0b506fea0c
3 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue