-
Notifications
You must be signed in to change notification settings - Fork 1
/
.ackrc
45 lines (36 loc) · 1.24 KB
/
.ackrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ack is a tool like grep, designed for programmers with large trees of heterogeneous source code
#to install ack, see http://betterthangrep.com/
#to use ack, launch terminal (mac osx) and type 'ack <some_keywords>'
#ack will search all files in the current directory & sub-directories
#here's how I have my config file setup. this file is located on mac osx here
# ~/.ackrc
# Always sort the files
#--sort−files
# Always color, even if piping to a another program
# --color
# Use "less −r" as my pager
# --pager="less -R"
--ignore-dir=.idea/
--ignore-dir=log/
--ignore-dir=coverage/
--ignore-dir=public/uploads/
--ignore-dir=public/assets/
--ignore-dir=public/system/
--ignore-dir=.git/
--ignore-dir=tmp
--ignore-dir=node_modules/
--ignore-dir=bower_components/
#make sure ack knows how to search common filetypes used in rails projects
--type-add=ruby=.rselm,.feature,.ru,.lock
--type-set=coffeescript=.coffee
--type-set=coffee=.coffee
--type-set=slim=.slim
--type-set=skim=.skim
--type-set=haml=.haml
--type-set=tpl=.haml,.slim,.html,.jade,.skim
#make sure ack knows how to search common filetypes used in node.js projects
--type-set=coffee=.coffee
--type-set=jade=.jade
--type-set=feature=.feature
--type-set=json=.json
--ignore-file=ext:xml