github-project-slug (81B)
1 #!/bin/sh 2 <<<"$PWD" sed -En 's,.*github/([^/]+)/([^/[:space:]]+)(/.*)?$,\1/\2,p'