Skip to content

Instantly share code, notes, and snippets.

@hfm
Created March 19, 2017 14:02
Show Gist options
  • Save hfm/8393a1db92b471eb58d6b31ffe8e9b75 to your computer and use it in GitHub Desktop.
Save hfm/8393a1db92b471eb58d6b31ffe8e9b75 to your computer and use it in GitHub Desktop.
#! /bin/sh
exec ag "$@" . | peco --exec 'awk -F : '"'"'{print "+" $2 " " $1}'"'"' | xargs less '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment