aboutsummaryrefslogtreecommitdiff
path: root/Scripts
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-05-31 16:04:30 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-05-31 16:04:30 +0100
commit0bd2bcb172bd4acc96c859536e2b36f033eed9b1 (patch)
treecd060d2c7f8406ff04e40f100ca26188f84292b6 /Scripts
parent0c6adbaabcf7eea23507fa33f814ae9d70cadd0a (diff)
downloaddotfiles-0bd2bcb172bd4acc96c859536e2b36f033eed9b1.tar.gz
dotfiles-0bd2bcb172bd4acc96c859536e2b36f033eed9b1.tar.bz2
dotfiles-0bd2bcb172bd4acc96c859536e2b36f033eed9b1.zip
(Scripts)+repo_find and rgrep
Diffstat (limited to 'Scripts')
-rwxr-xr-xScripts/.local/scripts/repo_find3
-rwxr-xr-xScripts/.local/scripts/rgrep3
2 files changed, 6 insertions, 0 deletions
diff --git a/Scripts/.local/scripts/repo_find b/Scripts/.local/scripts/repo_find
new file mode 100755
index 0000000..94c8580
--- /dev/null
+++ b/Scripts/.local/scripts/repo_find
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+ssh git@git.aryadevchavali.com "ls /git" | grep $1
diff --git a/Scripts/.local/scripts/rgrep b/Scripts/.local/scripts/rgrep
new file mode 100755
index 0000000..c95a42a
--- /dev/null
+++ b/Scripts/.local/scripts/rgrep
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+find -type 'f' -name $1 -exec grep --color=always -inH $2 "{}" ";"