From 88e48662a3ab761b6da4b76069989eef699bb114 Mon Sep 17 00:00:00 2001 From: thek4n Date: Tue, 5 Nov 2024 12:27:31 +0300 Subject: [PATCH] script t some refs --- home/user/.local/bin/t | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/home/user/.local/bin/t b/home/user/.local/bin/t index 31b8a61..7f7e4ca 100755 --- a/home/user/.local/bin/t +++ b/home/user/.local/bin/t @@ -8,13 +8,7 @@ set -o nounset readonly EXIT_SUCCESS=0 readonly NOTES_DIR_BASE="${HOME}/.t" - -NOTES_DIR="${NOTES_DIR_BASE}" -if [ -n "${NS+x}" ]; then - NOTES_DIR="${NOTES_DIR}/${NS}" -fi - -readonly NOTES_DIR +readonly NOTES_DIR="${NOTES_DIR_BASE}/${NS:-default}" cmd_help() {