citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

mail-prlink (137B)


      1 #!/usr/bin/env bash
      2 
      3 tac |
      4 grep -E '^https://github\.com.*pull/' |
      5 head -n1 |
      6 sed -En 's,^(.*github.com/[^/]+/[^/]+/pull/[0-9]+).*,\1,p'