Skip to content

Instantly share code, notes, and snippets.

@pdl
Last active April 10, 2017 10:18
Show Gist options
  • Save pdl/2bf9b7b6a5febe3dea30 to your computer and use it in GitHub Desktop.
Save pdl/2bf9b7b6a5febe3dea30 to your computer and use it in GitHub Desktop.
ack plus git blame
# 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