aboutsummaryrefslogtreecommitdiff
path: root/lib/loader
blob: 9b01d2a2c5dfc82eae6e44a2c78f4882e7012d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash

function load_recit {
    local recfile_location
    if [[ -f "$HOME/.recit.location" ]]; then
        recfile_location=$(cat "$HOME/.recit.location") 
    else
        echo "$HOME/.recit.location not found"
        exit 1
    fi
    echo "$recfile_location"
}