summaryrefslogtreecommitdiff
path: root/bin/common
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-08-22 22:25:53 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-08-22 22:25:53 +0200
commitdccf53c0d83973623e0d4c3f2550471232cf22b4 (patch)
tree3bbb720ce9e836ffaf56a77fe02b33fcd9b81ecd /bin/common
parent4f0064e39f9ece084d765f4e54a7e212e366a4e3 (diff)
[goo] search in pwd by default
Diffstat (limited to 'bin/common')
-rwxr-xr-xbin/common/goo2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/common/goo b/bin/common/goo
index cfd03ec..cb7a8b6 100755
--- a/bin/common/goo
+++ b/bin/common/goo
@@ -18,6 +18,6 @@ arduino15"
for dir in $exclude; do
dirs="$dirs -name \"$dir\" -o "
done
-cmd="find ${2:-$HOME} \(${dirs} -false \) -prune -o -type ${1:-f} -mindepth 1 -print"
+cmd="find ${2:-.} \(${dirs} -false \) -prune -o -type ${1:-f} -mindepth 1 -print"
eval "$cmd" 2>/dev/null