I know it's possible to password protect a zip file by using -e.
$ zip -e archivename.zip directory_name
After which you have to enter a password twice in the terminal. I was wondering if it's possible to bypass that by using an alias or a function so that it would look more like this:
$ zip archivename.zip directory_name password