[zsh] Add a new function stgpatches.