Skip to content

Instantly share code, notes, and snippets.

@naoty
Created July 29, 2021 05:57
Show Gist options
  • 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