fix(shell)!: default ripgrep to --include-zero

Grep normally outputs zero if a count is empty, and when we are aliasing
ripgrep to grep it can sometimes end up in other aliases. It's critical,
therefore, for our grep/ripgrep compatibility to be as high as possible

--include-zero brings ripgrep's behavior closer to grep, although it may
break script compatibility if scripts are expecting the default ripgrep
behavior

BREAKING-CHANGE: This changes the behavior of ripgrep, potentially breaking compatibility with scripts or aliases
Change-Id: Id6493c459490696869bb86f77b713c4953192a2d
Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/703
Tested-by: Skyler Grey <minion@clicks.codes>
Reviewed-by: Samuel Shuert <coded@clicks.codes>
1 file changed
tree: 7a5ffadaeb74419e61d1511d5794170418a6d7f4
  1. homes/
  2. modules/
  3. packages/
  4. systems/
  5. .editorconfig
  6. .gitignore
  7. .gitreview
  8. .sops.nix
  9. configure.sh
  10. flake.lock
  11. flake.nix
  12. LICENSE.md
  13. README.md
  14. TODO.md
README.md

What is this?

Chimera is a shared NixOS and home-manager configuration, built using flakes and Snowfall Lib. Our aims are to support all of our members' needs while allowing us to share work that would otherwise be duplicated between us.

We are opinionated and often will not provide much customization in our modules, only adding more than enable where we believe there to be a distinct probability that multiple members will choose differently.

Who shares it?

Currently:

If you'd like to join us, send us a message at chimera@clicks.codes!

Can I get my patch submitted?

For sure! You need a review from at least 1 other chimera member who your patch affects. If there's nobody matching this description and you are a chimera member, submit away! If you're not a member then you'll need to become one - let us know you're interested at chimera@clicks.codes

License

Chimera is licensed under AGPL-3.0. We use this as our default license because we believe it gives a lot of freedoms to you without letting you restrict them for other people. For any file which does not specify otherwise you may use the code exclusively under this license. You may find a copy of this license in ./LICENSE.md or at https://www.gnu.org/licenses/agpl-3.0.en.html

Some of our code is adapted from other people's work and that code, as well as all code written by us in files containing substantial portions of their work is available under their license. For files where this applies we will include a header containing the full license text and copyright notices.