- 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:
parent
b5c8a3f894
commit
0912f2d3d4
13 changed files with 1143 additions and 33 deletions
5
newday
5
newday
|
|
@ -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=@?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue