diff options
-rwxr-xr-x | libexec/recit-file | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libexec/recit-file b/libexec/recit-file new file mode 100755 index 0000000..a5012c0 --- /dev/null +++ b/libexec/recit-file @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -e + +if [[ -f "$HOME/.recit.location" ]]; then + recfile_location=$(cat "$HOME/.recit.location") +else + echo "$HOME/.recit.location not found, exiting" + exit 1 +fi + +echo "$recfile_location" |