Created
February 11, 2020 16:42
-
-
Save Brettm12345/cb871ea3076639d0ba05166645f08933 to your computer and use it in GitHub Desktop.
Fuzzy search through hoogle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env nix-shell | |
#! nix-shell -i sh -p hoogle skim | |
sk -i -c "hoogle -q --count=50 '{}'" --preview="hoogle -i '{1..2}'" --cmd-prompt="hoogle> " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A note for people not using
NixOs
delete the top two lines and replace them with#!/bin/sh
after making sure you have skim and hoogle installed