Lists a user's open pull requests on GitHub in a given GitHub organization with pretty formatting.
Requires the hub git wrapper to be installed: https://github.com/github/hub
Copy to somewhere in your $PATH and make executable:
cp list_open_prs.sh ~/bin/
chmod +x ~/bin/list_open_prs.sh
Example:
list_open_prs phildier AgencyPMG
You can edit the file and update the default username and org so you don't have to pass them in as parameters.
# set defaults
username=${1:-githubusername}
githuborg=${2:-githuborganization}
# change to
username=${1:-phildier}
githuborg=${2:-AgencyPMG}