index
:
dotfiles.git
master
My personal dotfiles and configuration.
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
bin
/
rgr
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'bin/rgr')
-rwxr-xr-x
bin/rgr
3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/rgr b/bin/rgr
new file mode 100755
index 0000000..a7cd7c0
--- /dev/null
+++ b/
bin/rgr
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+rg $1 --files-with-matches -0 | xargs -0 gsed -i "s/$1/$2/g"