Add pgrights function to zsh