Add psg and ag zsh functions