1
0
mirror of https://github.com/RyanGreenup/cadmus.git synced 2025-02-22 21:53:34 +01:00

Fixed Notes Directory

This commit is contained in:
Ryan Greenup 2020-07-16 03:28:10 +10:00
parent 1990de189d
commit 0d3bf1708d

View File

@ -1,6 +1,6 @@
#! /usr/bin/env bash
NOTES_DIR="~/Notes/MD/notes" ## TODO Global Variables are bad
RECOLL_CONFIG_DIR="$HOME/.cadmus"
readonly NOTES_DIR="~/Notes/MD/notes" ## TODO Global Variables are bad
readonly RECOLL_CONFIG_DIR="$HOME/.cadmus"
# Author: Ryan Greenup <ryan.greenup@protonmail.com>
# abort on nonzero exitstatus
set -o errexit
@ -26,9 +26,6 @@ function setvars() {
readonly script_dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
readonly TERMINAL="kitty"
readonly TERMINAL_EXEC='kitty -- '
readonly NOTES_DIR="$HOME/Notes"
}
@ -104,7 +101,7 @@ arguments () {
# *** Find
function NoteFind() {
echo "Running NoteFind.sh"
echo "Running NoteFind.sh "${1}" "
FILES="$(NoteFind.sh "${@:-}")"