Limit listing of notes by only note.md files
This commit is contained in:
parent
76038af802
commit
1f8d8b6a55
1 changed files with 1 additions and 1 deletions
2
notes.sh
2
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-"
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue