Closed sgronblo closed 10 years ago
Hi Sam,
To disable your ackrc file, you can specify --noenv. You can also re-enable an ignored directory via the --no-ignoredir flag.
"Sam Grönblom" notifications@github.com wrote:
I think before I used to be able to search all files when I wanted to by typing ack --all but now that option has sadly been removed. What is the recommended way to either ignore everything in my .ackrc file or just disregard the ignored dirs in the .ackrc file.
I have ignore-dir=node_modules etc. in my .ackrc file but every now and then I want to be able to ack everything to see what prints some garbage to the terminal.
Reply to this email directly or view it on GitHub: https://github.com/petdance/ack2/issues/424
Hi Sam,
To disable your ackrc file, you can specify --noenv. You can also re-enable an ignored directory via the --no-ignoredir flag.
If you would like to discuss this further, please feel free to address it on the mailing list.
ack 1.x's -a-all didn't search all files. It searched all filetypes that weren't still excluded like coredumps and backup files. This didn't mean that it would ignore ignored directories. The confusion about what "--all" meant is one of the reasons it's gone.
If you truly want to search everything, that's why you still have grep in your toolbox.
I think before I used to be able to search all files when I wanted to by typing ack --all but now that option has sadly been removed. What is the recommended way to either ignore everything in my .ackrc file or just disregard the ignored dirs in the .ackrc file.
I have ignore-dir=node_modules etc. in my .ackrc file but every now and then I want to be able to ack everything to see what prints some garbage to the terminal.