Add journal.sh header

This commit is contained in:
Shav Kinderlehrer 2023-08-28 14:27:24 -04:00
parent 03c6e4705c
commit eac4027d33

View File

@ -1,5 +1,14 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
# ====
# journal.sh
# Manages a simple journaling system.
#
# Written for Mac
#
# Uses GNU coreutils, gdate, gsed, etc.
# ====
set_dates() { set_dates() {
nowtime=$(gdate "+%H:%M") || exit nowtime=$(gdate "+%H:%M") || exit
day=$(gdate "+%A" -d "$*") || exit day=$(gdate "+%A" -d "$*") || exit