add helper function to zshrc