script t some refs

This commit is contained in:
thek4n 2024-11-05 12:27:31 +03:00
parent 2a250daa34
commit 88e48662a3

View File

@ -8,13 +8,7 @@ set -o nounset
readonly EXIT_SUCCESS=0 readonly EXIT_SUCCESS=0
readonly NOTES_DIR_BASE="${HOME}/.t" readonly NOTES_DIR_BASE="${HOME}/.t"
readonly NOTES_DIR="${NOTES_DIR_BASE}/${NS:-default}"
NOTES_DIR="${NOTES_DIR_BASE}"
if [ -n "${NS+x}" ]; then
NOTES_DIR="${NOTES_DIR}/${NS}"
fi
readonly NOTES_DIR
cmd_help() { cmd_help() {