I figured it would be fun to convert some of my scripts into zsh functions. Who knows, one might learn a thing or two.

I decided to store my functions in $HOME/bin/functions, and therefor added the below settings to $HOME/.zshrc:

export fpath=($HOME/bin/functions /usr/local/share/zsh/site-functions $fpath)
autoload -Uz $HOME/bin/functions/*(.:t)