diff --git a/notes.sh b/notes.sh index 4c13859..a13403d 100755 --- a/notes.sh +++ b/notes.sh @@ -115,7 +115,7 @@ list_entries() { }\ " - grep -r -m 3 -h "^Subject:\|^X-Note-Id:\|^X-Date:" "$BASEDIR" | awk "$FILTER" | sort | cut -d " " -f "2-" + grep -r -m 3 -h "^Subject:\|^X-Note-Id:\|^X-Date:" "$BASEDIR" --include="note.md" | awk "$FILTER" | sort | cut -d " " -f "2-" }