Install hub
In fish, create a function:
function hubpr
hub pull-request -b TrackMaven:master -h TrackMaven:$argv[1] -i $argv[2]
end
funcsave hubpr
Make another function:
function pr
hubpr (git rev-parse --abbrev-ref HEAD) $argv
end
funcsave pr
Now you can run pr 123
to turn issue number 123 into a PR based on the current pushed branch