From 5adaa58692524902d6b7a0d5b4230641ced61c06 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 27 Feb 2024 23:00:05 -0500 Subject: split out ripgrep config --- ripgrep/.bin/rg | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 ripgrep/.bin/rg (limited to 'ripgrep/.bin/rg') 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 -- cgit v1.2.3-54-g00ecf