Last active
March 1, 2018 07:44
-
-
Save b-wind/1c6d12e7cf4aae5c661c24321593b883 to your computer and use it in GitHub Desktop.
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
function rgless { | |
less $(rg --line-number "$@" | peco | awk -F : '{print "+" $2 " " $1}') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment