Skip to content

Instantly share code, notes, and snippets.

@pwenzel
Created September 11, 2012 17:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pwenzel/3699913 to your computer and use it in GitHub Desktop.
Save pwenzel/3699913 to your computer and use it in GitHub Desktop.
.ackrc
# add .tpl for smarty files
--type-set=smarty=.tpl
--type-set=tpl=.tpl
# plain text CSV files
--type-set=csv=.txt,.csv,.tsv
# CSS/LESS
--type-set=css=.css,.less
# add .inc for include files
--type-set=include=.inc
--type-set=inc=.inc
# add .conf for include files
--type-set=conf=.conf
# the usual (search with ack --type=web string)
--type-set=web=.tpl,.shtml,.php
--type-set=js=.js
--type-set=javascript=.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment