#!/usr/bin/env sh
#
# click - use a fuzzy-finder to open URLs found in the scrollback buffer
# inspired by the excellent https://github.com/minond/click

scrollback \
  | xurls \
  | fzy -p 'Open URL > ' \
  | xe which-open
