From 03a410f4c9febd181b3037b824ea0312f6cdf79e Mon Sep 17 00:00:00 2001 From: Matheus Albino Brunhara Date: Fri, 20 Sep 2024 13:34:44 -0300 Subject: [PATCH] Add rg and rga scripts --- scripts/shell/rg.sh | 3 +++ scripts/shell/rga.sh | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 scripts/shell/rg.sh create mode 100755 scripts/shell/rga.sh diff --git a/scripts/shell/rg.sh b/scripts/shell/rg.sh new file mode 100755 index 0000000..ef17343 --- /dev/null +++ b/scripts/shell/rg.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +rg --pretty "$@" | less -RFX diff --git a/scripts/shell/rga.sh b/scripts/shell/rga.sh new file mode 100755 index 0000000..b70c184 --- /dev/null +++ b/scripts/shell/rga.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +rga --pretty --ignore-case --iglob *.pdf --iglob **/*.pdf "$@" | less -RFX