#!/usr/bin/env bash
# "grep open"
#
# Run ripgrep to search for a pattern with the current git repo if the
# current file is inside of one, otherwise the current directory.
pat=""
if ; then
pat=""
fi
dirname=""
if ; then
fname=""
if ; then
dirname=""
else
dirname=""
fi
fi
#cd "$dirname" || exit
#rg "$pat" \
# --column \
# --line-number \
# --no-heading |
# sed 's/\(.\+\):\([0-9]\+\):\([0-9]\+\):/\1:\2:\3 /g'