|
|
|
|
|
by burntsushi
904 days ago
|
|
This is what I do personally: $ cat ~/bin/rgp
#!/bin/sh
exec rg -p "$@" | less -RFX
Should work just fine. For Windows, you can install `bat` to use a pager if you don't otherwise have one. You don't need GNU utils to have a pager. |
|
I use cygwin and WSL for my unix needs. I have more and less in cygwin for use in windows.