#!/usr/bin/env bash # # search hoogle with fzf # set -euo pipefail HOOG="hoogle search --count=200" export FZF_DEFAULT_COMMAND="$HOOG $*" fzf \ --preview-window=down \ --preview "hoogle search --link --info {+2}" \ --bind "change:reload:$HOOG {q} || true" \ --print-query \ --ansi ##