-
-
Save naoty/5caa563a42de2849ee45fe7127ac2090 to your computer and use it in GitHub Desktop.
ghとfzfでCLIからPull Requestを開くやつ
This file contains 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 -e | |
id=$(gh pr list --search "involves:@me" | cut -f 1-2 | fzf --reverse | cut -f 1) | |
gh pr view ${id} --web |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment