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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user