-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathackrc
More file actions
33 lines (27 loc) · 686 Bytes
/
ackrc
File metadata and controls
33 lines (27 loc) · 686 Bytes
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
# Ack is a tool like grep
# 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=log/
--ignore-dir=tmp/
--ignore-dir=public/assets/
--ignore-dir=build/
--ignore-dir=priv/
--ignore-dir=vendor/
--ignore-dir=node_modules/
--ignore-dir=deps/
--ignore-dir=coverage/
--ignore-file=ext:log
--ignore-file=ext:output
--ignore-file=match:tags
--ignore-file=match:.min.js
--ignore-file=match:ruby_cscope.out
# Make sure ack knows how to search common filetypes used in rails projects
--type-add=css=scss
--type-add=ruby=.haml,.lock
--type-set=coffeescript=.coffee
--type-set=coffee=.coffee