Looping Over Files In Zsh
In order to loop over all the files in a given directory and run a different command on each of them in zsh:
for file in ~/folder/*; gpg $file
Software Engineer
In order to loop over all the files in a given directory and run a different command on each of them in zsh:
for file in ~/folder/*; gpg $file