質問

I find that the file/directory types in my .gitignore_global (which changes fairly regularly) are typically those that I'd like to ignore in my ack searches.

Is there a way to sync or "pipe" the the ignored files / directories from my .gitignore_global to my .ackrc?

役に立ちましたか?

解決

Edit: I now use ripgrep for this type of thing.


Recently found Ag (a.k.a. the silver searcher) and git-grep, both of which serve my purpose.

他のヒント

ack does not currently look at .gitignore, but we have plans to allow for plugins in the future and that will be one of the first ones we do.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top