Created
February 27, 2012 21:28
-
-
Save chadfennell/1927219 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| --type-set=drupal=.module,.info,.inc,.php,.js |
Author
Author
To use search only drupal-related files with the above config, simply run "ack --drupal your_search_here"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The above configuration file assumes that you have ack "better than grep" http://betterthangrep.com) installed on your machine. Place the above config file in ~/.ackrc and run ack --help types (or ack-grep --help types, depending your system) and look for "--[no]drupal .module .info .inc .php .js" in your type settings listing.