diff options
Diffstat (limited to '')
-rwxr-xr-x | libexec/recit-recsel-projects | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libexec/recit-recsel-projects b/libexec/recit-recsel-projects index f7778e9..017e3e4 100755 --- a/libexec/recit-recsel-projects +++ b/libexec/recit-recsel-projects @@ -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 Project "${recfile}" | recfmt -f share/recit/templates/projects.templ) + out=$(recsel -t Project "$recfile" | recfmt -f share/recit/templates/projects.templ) else - out=$(recsel -t Project "${recfile}" -e "$1" | recfmt -f share/recit/templates/projects.templ) + out=$(recsel -t Project "$recfile" -e "$1" | recfmt -f share/recit/templates/projects.templ) fi echo -e "$out" |