Add first cut at a function to get a project root

Hopefully this can be expanded over time.
This commit is contained in:
Michael Wolf
2023-09-18 15:52:40 -06:00
parent bbcd4449f2
commit d1e6e953d1

View File

@@ -1,3 +1,7 @@
function root() {
echo "$(git rev-parse --show-toplevel)"
}
function sniff_file_type() { function sniff_file_type() {
ff=$1 ff=$1
shift shift