unzipper
A useful function to add to your ~/.bash_profile or ~/.bashrc file on macOS that automates custom unzipping of regular-zipped or gzipped files and folders on Mac.
This is a companion function/script to my zipper function posted in a Gist here.
Add in your path as a full shell script by copying all below and saving into a file named unzipper located in your $PATH (e.g. /usr/bin), or copy and paste just the function into ~/.bash_profile or ~/.bashrc then restart Terminal.
#!/bin/sh