gitignoreack

How to sync .ackrc and .gitignore_global?


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?


Solution

  • 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.