Last active
June 24, 2021 10:30
-
-
Save ttscoff/c9b2854010625ed11b54a8f2a4c0c901 to your computer and use it in GitHub Desktop.
Fish function for using fuzzy command line searching of your gists
This file contains hidden or 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
function findgist --description 'select gist from list and display contents' | |
# requires fzf (brew install fzf) and gist (brew install gist) | |
gist -r (gist -l | awk -F/ '{print $NF}' | fzf --layout="reverse" -q "$argv" | awk '{ print $1 }') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment