gh alias set co --shell 'id="$(gh pr list -L100 --assignee @me| fzf | cut -f1)"; [ -n "$id" ] && gh pr checkout "$id" && gh pr checks'
gh alias set coall --shell 'id="$(gh pr list -L100 | fzf | cut -f1)"; [ -n "$id" ] && gh pr checkout "$id" && gh pr checks'
gh co # see my PRs
gh coall # see all PRs
- Install GitHub CLI
brew install gh
- Install fzf
brew install fzf