1unpackCmdHooks+=(_try7zip) 2_try7zip() { 3 if ! [[ "$curSrc" =~ \.7z$ ]]; then return 1; fi 4 7z x "$curSrc" 5}