5 lines
122 B
Bash
5 lines
122 B
Bash
unpackCmdHooks+=(_tryUnzip)
|
|
_tryUnzip() {
|
|
if ! [[ "$curSrc" =~ \.zip$ ]]; then return 1; fi
|
|
unzip -qq "$curSrc"
|
|
}
|