diff options
Diffstat (limited to 'libexec/recit-recsel-entries')
-rwxr-xr-x | libexec/recit-recsel-entries | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libexec/recit-recsel-entries b/libexec/recit-recsel-entries index 5b6070a..f2ca2f9 100755 --- a/libexec/recit-recsel-entries +++ b/libexec/recit-recsel-entries @@ -1,14 +1,11 @@ #!/usr/bin/env bash set -e -# shellcheck source=/dev/null -source lib/loader - -recfile=$(load_recit) +recfile=$(recit-file) if [[ "$1" = "" ]]; then - out=$(recsel -t Entry "${recfile}" | recfmt -f share/recit/templates/entries.templ) + out=$(recsel -t Entry "$recfile" | recfmt -f share/recit/templates/entries.templ) else - out=$(recsel -t Entry "${recfile}" -e "$1" | recfmt -f share/recit/templates/entries.templ) + out=$(recsel -t Entry "$recfile" -e "$1" | recfmt -f share/recit/templates/entries.templ) fi echo -e "$out" |