GNU/Linux ◆ tmux-256color ◆ zsh 959 views

not fully functional, but wouldnt it be nice to clone a repo and then pick out patches to apply from its PRs?

this depends on another script i wrote https://github.com/danielfgray/api-helper

api github get /repos/chjj/blessed/pulls |
  jq -r '.[] | "\(.patch_url) \(.title)"' |
  fzf  \
    --with-nth='2..'  \
    --height=90%  \
    --reverse \
    --preview='curl -sL {1} | highlight -S diff -q --force -O ansi'

More by DanielFGray

js cli idea 00:37

by DanielFGray

npmsearch 00:39

by DanielFGray

fzmp 00:58

by DanielFGray

See all