Created
March 29, 2023 09:12
-
-
Save BKmetoff/1d05e1178890b60975c2a52d09de86c4 to your computer and use it in GitHub Desktop.
CLI git helper - open PR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
fuzz="fzf --height=40% --no-color --no-info" | |
base_url="https://github.com/" | |
url_pr=`gh search prs --author <author name> --state open | $fuzz | awk '{printf "%s/pull/%s",$1,$2}'` | |
open "$base_url$url_pr" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment