diff options
Diffstat (limited to 'ripgrep')
-rwxr-xr-x | ripgrep/.bin/rg | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ripgrep/.bin/rg b/ripgrep/.bin/rg new file mode 100755 index 0000000..ea88361 --- /dev/null +++ b/ripgrep/.bin/rg @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ -t 1 ]; then + exec /usr/bin/rg --smart-case --no-ignore-messages -p "$@" | less -FR +else + exec /usr/bin/rg --smart-case --no-ignore-messages "$@" +fi |