A port of my bash scripts to zsh