add initial inits and journaling script

This commit is contained in:
sigil-03 2025-05-14 22:04:40 -06:00
commit 5637f587c1
5 changed files with 17 additions and 0 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "scripts/note"]
path = scripts/note
url = https://git.glyphs.tech/sigil-03/note.git

3
init.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
DOTSDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
. ${DOTSDIR}/scripts/init.sh

7
scripts/aliases.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
SCRIPTDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
# journal
JOURNALDIR="${HOME}/docs/journal/"
. ${SCRIPTDIR}/note/journal.shf
alias j="journal"

3
scripts/init.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/bash
SCRIPTSDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
. ${SCRIPTSDIR}/aliases.sh

1
scripts/note Submodule

@ -0,0 +1 @@
Subproject commit 87876ecfa9acdec3f080ed89a2bfb9a3435469df