- Many fixes to sourcing, now will always resolve to base dir.

- All scripts are again `sh` compatible.
- Binbox overhaul, symlinks finally work just like `busybox`.
- Error checking to some files like `sw` and `own`.
TODO: Make it pretty and make `short` already.
This commit is contained in:
Sam Hardeman 2025-09-22 08:34:50 +02:00
parent b5c8a3f894
commit 0912f2d3d4
13 changed files with 1143 additions and 33 deletions

5
newday
View file

@ -14,6 +14,9 @@
# You can use this for a primitive form of note-taking, but aside from notes -
# you can store any data this way.
DAISY_INTERNAL=1
. $(dirname $(realpath $0))/daisy.source
BINSELF=$(basename $0)
DIR_NAME=ByDate
ROOT_DIR=$HOME/$DIR_NAME
@ -49,4 +52,4 @@ test -L "$TODAY_SYM" && rm -rf "$TODAY_SYM"
mkdir -p "$ROOT_DIR/$YEAR/$MONTH/$DAY"
cd $ROOT_DIR
ln -s "./$DIR_NAME/$YEAR/$MONTH/$DAY" "$TODAY_SYM"
exitcode=@?