Skip to content

Instantly share code, notes, and snippets.

@marcw
Created April 8, 2011 07:20
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcw/909430 to your computer and use it in GitHub Desktop.
Save marcw/909430 to your computer and use it in GitHub Desktop.
Add twig search to ack-grep
alias ack='ack-grep --type-set twig=.twig'
@beberlei
Copy link

As of the ack-grep manpage the following is much more awesome. Create an .ackrc in your home folder with:

--type-set
twig=.twig

@emgiezet
Copy link

@beberlei you made my day!

@Pickra
Copy link

Pickra commented Jun 17, 2014

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment