moved all of my config into this nix flake

This commit is contained in:
Sebastian Moser
2023-10-28 19:10:37 +02:00
parent 9facde9d3a
commit 112ef46fd2
46 changed files with 3545 additions and 0 deletions

19
mybin/fingre Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
v_flag=""
flag=""
while getopts ':v:' flag; do
case "${flag}" in
v) v_flag="${OPTARG}";;
*) echo "invalid flag"
exit 1 ;;
esac
done
if [[ "$v_flag" == "" ]]
then
find . -not -type d | xargs grep $@ 2>/dev/null
else
find . -not -type d | grep -v "$v_flag" | xargs grep $@ 2>/dev/null
fi