This a plugin for zsh and oh-my-zsh. It adds a command to compresses to zip without data that should not be in the zip. It's targeted towards mac users specifically, since the standard compressions adds "garbage" to the .zip itself.
To use it, copy the folder cleanzip to your zsh plugins folder and add cleanzip to the plugins array of your zshrc file:
plugins=(... cleanzip)
cleanzip <zipname> [path]
*__MACOSX
*.git*
*.DS_Store