Skip to content

Instantly share code, notes, and snippets.

@naoty
Created July 29, 2021 05:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naoty/5caa563a42de2849ee45fe7127ac2090 to your computer and use it in GitHub Desktop.
Save naoty/5caa563a42de2849ee45fe7127ac2090 to your computer and use it in GitHub Desktop.
ghとfzfでCLIからPull Requestを開くやつ
#!/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