the_earnest/dotfiles

added .MoonReader exclusion to function f()

Commit c421bae8c0c7 · The Earnest · 2026-11-20 00:11 +0000

Changeset
c421bae8c0c75035a2751b948e65c27d5d46a0db

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/godir/godir.bash b/godir/godir.bash
--- a/godir/godir.bash
+++ b/godir/godir.bash
@@ -5,7 +5,8 @@
 	FINDCMD+="-type d \( "
 	FINDCMD+="-path '*/Android' -o "
 	FINDCMD+="-path '*/.hg' -o "
-	FINDCMD+="-path '*/.git' "
+	FINDCMD+="-path '*/.git' -o "
+	FINDCMD+="-path '*/.MoonReader' "
 	FINDCMD+=" \) -prune -o"
 
 	for i in "$@"; do