feat(zsh): add Unzip function
This commit is contained in:
parent
4ef0470b43
commit
43b088a580
@ -160,3 +160,9 @@ TCPDump-Capture() {
|
|||||||
tcpdump -qns 0 -X -r "${1}"
|
tcpdump -qns 0 -X -r "${1}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Unzip () {
|
||||||
|
for item in "${*[@]}"; do
|
||||||
|
unzip -d "${item%.zip}" "${item}" || return
|
||||||
|
printf "\n"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user