diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-11-11 21:35:03 +0100 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-11-11 21:35:18 +0100 |
commit | 36b9e8cf30653e31a8c1777041b58cacbe05c1ef (patch) | |
tree | 7fba941b731a51cab1fe18735531c2d261ecbe01 | |
parent | d4441e22393c19156d9faa1b93228730825281a4 (diff) |
replace custom contentsearch with ripgrep
-rwxr-xr-x | bin/contentsearch | 11 | ||||
-rwxr-xr-x | shell_only.sh | 5 |
2 files changed, 3 insertions, 13 deletions
diff --git a/bin/contentsearch b/bin/contentsearch deleted file mode 100755 index b9a4e65..0000000 --- a/bin/contentsearch +++ /dev/null @@ -1,11 +0,0 @@ -#! /bin/bash - -files=$(find -type f -name "*$2") - -for file in $files; do - found=$(cat $file | grep -i "$1") - if [ -n "$found" ]; then - echo -e "\e[1m$file:\e[0m" - echo $found - fi -done diff --git a/shell_only.sh b/shell_only.sh index cfa6ee5..411fdeb 100755 --- a/shell_only.sh +++ b/shell_only.sh @@ -63,9 +63,10 @@ if command_exists pacman; then vim \ neofetch \ fzf \ - openssh + openssh \ + ripgrep - cargo install paru + cargo install paru cargo-update mkdir -p ~/.config/paru/ cat <<EOT > ~/.config/paru/paru.conf |