Last active
April 10, 2017 10:18
-
-
Save pdl/2bf9b7b6a5febe3dea30 to your computer and use it in GitHub Desktop.
ack plus git blame
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
# ack Module::Load --output='@{[`git blame $_[1] -L $.,$. | perl -e "chomp and print while <STDIN>"`]}' | |
alias ack-blame="ack --output='@{[\`git blame \$_[1] -L \$.,\$. | perl -e \"chomp and print while <STDIN>\"\`]}'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment