Created
March 26, 2020 22:54
-
-
Save ccampo133/66c6f92c29aa46d3c6c5fe2790de2874 to your computer and use it in GitHub Desktop.
Logbook
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
function lb() { | |
local dir="$HOME/daily-log/$(date '+%Y')/$(date '+%m')" | |
mkdir -p $dir | |
# 'code' is your text editor of choice... in this case VS Code | |
code $HOME/daily-log/ | |
code $dir/$(date '+%Y-%m-%d').md | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment