PageRenderTime 103ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/ripgrep/README.md

https://github.com/DustinVenegas/dotFiles
Markdown | 42 lines | 27 code | 15 blank | 0 comment | 0 complexity | 81b25614bfd658eb9e99c242c3c66435 MD5 | raw file
  1. # RipGrep
  2. [RipGrep](https://github.com/BurntSushi/ripgrep/) is a search utility based
  3. around regex. It works well cross-platform, can replace grep, and can respect
  4. `.gitignore` files. This makes it a great addition for shells and editors.
  5. ## Setup
  6. Install ripgrep with
  7. chocolatey: `choco install ripgrep -y`
  8. [Ubuntu 18.04](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-7#ubuntu-1804)
  9. ```bash
  10. # Download the Microsoft repository GPG keys
  11. wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
  12. # Register the Microsoft repository GPG keys
  13. sudo dpkg -i packages-microsoft-prod.deb
  14. # Update the list of products
  15. sudo apt-get update
  16. # Enable the "universe" repositories
  17. sudo add-apt-repository universe
  18. # Install PowerShell
  19. sudo apt-get install -y powershell
  20. ```
  21. Then setup the dotfiles configuration with `./RipGrep/bootstrap.ps1`.
  22. ## Configuration
  23. The `RIPGREP_CONFIG_PATH` environment variable must be set in order for the
  24. default configuration to be used.
  25. The following files are Symlinked from the dotfiles repository to their expected
  26. paths.
  27. - `$HOME/.ripgreprc` points to [`ripgreprc`](./ripgreprc)