diff options
author | Julio Capote <jcapote@gmail.com> | 2022-08-21 13:34:37 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2022-08-21 13:34:37 +0000 |
commit | e8910ecd98488bc2dcc82389a82b14ca2361617a (patch) | |
tree | 3b31e7f6ae5b0f95c6a5918d96de88c2cb1e7fbf /libexec | |
parent | 76b279302a6d1f6ecb4b6e1d1fe082aa66451e8f (diff) | |
download | recit-e8910ecd98488bc2dcc82389a82b14ca2361617a.tar.gz |
colored output
Diffstat (limited to 'libexec')
-rwxr-xr-x | libexec/recit-entries | 3 |
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 |