aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2022-08-21 13:34:37 +0000
committerJulio Capote <jcapote@gmail.com>2022-08-21 13:34:37 +0000
commite8910ecd98488bc2dcc82389a82b14ca2361617a (patch)
tree3b31e7f6ae5b0f95c6a5918d96de88c2cb1e7fbf /lib
parent76b279302a6d1f6ecb4b6e1d1fe082aa66451e8f (diff)
downloadrecit-e8910ecd98488bc2dcc82389a82b14ca2361617a.tar.gz
colored output
Diffstat (limited to '')
-rwxr-xr-xlibexec/recit-entries3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/recit-entries b/libexec/recit-entries
index e76f14d..9cb45ca 100755
--- a/libexec/recit-entries
+++ b/libexec/recit-entries
@@ -59,7 +59,8 @@ if ! [[ "$project" = "" ]]; then
fi
if [[ "$expression" = "" ]]; then
- recsel -t Entry "${recfile}" | recfmt -f share/recit/templates/entries.templ
+ out=$(recsel -t Entry "${recfile}" | recfmt -f share/recit/templates/entries.templ)
+ echo -e "$out"
else
recsel -t Entry -e "$expression" "${recfile}"
fi