Created
June 14, 2018 19:29
-
-
Save aaronott/6ee0b5e6e080db61a29e9e45a89d471c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DIARY_DIR=~/Documents/.diary | |
PAGE_NAME="$(date +'%F')-$(date +'%a' | head -c 1)-log.md" | |
vi $DIARY_DIR/$PAGE_NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment