Add journal.sh header
This commit is contained in:
parent
03c6e4705c
commit
eac4027d33
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user