-
Notifications
You must be signed in to change notification settings - Fork 5
/
ackrc
45 lines (39 loc) · 1006 Bytes
/
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
# 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=.elixir_ls/
--ignore-dir=.ruby-lsp/
--ignore-dir=.saas-cache/
--ignore-dir=.bundle/
--ignore-dir=log/
--ignore-dir=dist/
--ignore-dir=.esbuild/
--ignore-dir=tmp/
--ignore-dir=public/assets/
--ignore-dir=public/packs/
--ignore-dir=public/packs-test/
--ignore-dir=build/
--ignore-dir=priv/
--ignore-dir=vendor/
--ignore-dir=node_modules/
--ignore-dir=deps/
--ignore-dir=coverage/
--ignore-dir=storage/
--ignore-file=ext:log
--ignore-file=ext:output
--ignore-file=ext:liquidc
--ignore-file=match:tags
--ignore-file=match:.min.js
--ignore-file=match:yarn.lock
--ignore-file=match:ruby_cscope.out
--ignore-file=match:app/assets/builds/*.css
# 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