Tidy up the grep.zsh library