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