Create zip of folder with same name
This is how you do it straight with the shell:
zip -r folder{.zip,}
You can add a bash function that does this to your .bashrc
file:
function fzip {
zip -r $1 $1
}
Then in the shell you can do:
user@host:~$ fzip my_folder
# creates my_folder.zip