Add first cut at a function to get a project root
Hopefully this can be expanded over time.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user