ned: ned is now much better at choosing the documents repository

This commit is contained in:
PowerUser64 2022-03-03 13:34:04 -08:00
parent 3c8a916daf
commit 02ee3bd399

View file

@ -9,7 +9,7 @@
# shellcheck disable=SC2068,SC2178,SC2128
# set default values if things are unset
NOTES_DIR="${NOTES_DIR:-"$HOME/Documents/college/current"}"
NOTES_DIR="${NOTES_DIR:-"$(git -C "$(dirname "$(realpath ~/todo)")" rev-parse --show-toplevel)"}"
EDITOR="nvim"
EDITOR_CMD="nvim -c :ZenMode"