mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-13 10:54:22 +08:00
extract: whl files support (#7045)
This commit is contained in:
1 parent
3a31074d34
commit
5fbf912093
2 files changed
+2
-2
No files matched your search
@@ -46,7 +46,7 @@ extract() {
|
||||
(*.xz) unxz "$1" ;;
|
||||
(*.lzma) unlzma "$1" ;;
|
||||
(*.z) uncompress "$1" ;;
|
||||
(*.zip|*.war|*.jar|*.sublime-package|*.ipsw|*.xpi|*.apk) unzip "$1" -d $extract_dir ;;
|
||||
(*.zip|*.war|*.jar|*.sublime-package|*.ipsw|*.xpi|*.apk|*.whl) unzip "$1" -d $extract_dir ;;
|
||||
(*.rar) unrar x -ad "$1" ;;
|
||||
(*.7z) 7za x "$1" ;;
|
||||
(*.deb)
|
||||
|
||||
Reference in new issue
Block a user