开发者

Ignoring a directory using ack's .ackrc

开发者 https://www.devze.com 2023-04-06 18:14 出处:网络
I\'m not sure what it\'s for, but the code I\'m wo开发者_如何学编程rking on has a bunch of folders called \"save.d,\" it looks like they\'re used for some sort of version control (we also have .svn fo

I'm not sure what it's for, but the code I'm wo开发者_如何学编程rking on has a bunch of folders called "save.d," it looks like they're used for some sort of version control (we also have .svn folders).

How can I update my .ackrc file to ignore those directories by default?

My .ackrc is currently

--type-set=inc=.inc
--ignore-dir=pear
--type-set=tpl=.tpl

Our folder structure can look like:

program/parsers/save.d
program/modules/save.d


Adding another line --ignore-dir=save.d did the trick

0

精彩评论

暂无评论...
验证码 换一张
取 消