ZIP the contents of the current folder into a zip with its parent directory as its name. Useful for zipping just the contents without the folder parent folder.

zip -r "${PWD##*/}".zip .

Zip the current directory into a folder called

zip -r .

Especially useful for proprietary email clients, I'm looking at you Dell EMC, and certain manifest files.