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

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