diff options
Diffstat (limited to '')
-rw-r--r-- | lib/recfile_template | 19 | ||||
-rwxr-xr-x | libexec/recit-entries | 2 |
2 files changed, 1 insertions, 20 deletions
diff --git a/lib/recfile_template b/lib/recfile_template deleted file mode 100644 index 674dc7b..0000000 --- a/lib/recfile_template +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -function recfile_template { - echo "# recit schema version v0.0.1 -%rec: Project -%key: Id - -Id: example-project -Status: open -Notes: blah blah - -%rec: Entry -%key: Id -%type: Time date -%auto: Time -%type: ProjectRef rec Project -%sort: Time - " -}
\ No newline at end of file diff --git a/libexec/recit-entries b/libexec/recit-entries index fd74853..e76f14d 100755 --- a/libexec/recit-entries +++ b/libexec/recit-entries @@ -59,7 +59,7 @@ if ! [[ "$project" = "" ]]; then fi if [[ "$expression" = "" ]]; then - recsel -t Entry "${recfile}" + recsel -t Entry "${recfile}" | recfmt -f share/recit/templates/entries.templ else recsel -t Entry -e "$expression" "${recfile}" fi |