Cool journaling script (command? alias?) I made!
Posted by wisegod62@reddit | linux | View on Reddit | 2 comments
code: https://pastebin.com/jmL8mfxJ
I might have flaired this wrong but I made a cool script for journaling. It goes in my .bashrc. I can type "journal" in my terminal and it:
- Makes a directory for year and month in my "journal" folder
- Creates a .md file with the date in yyyy-mm-dd format and opens it in nvim
- When you exit, commits and pushes to git
I just thought it was cool and wanted to share.
aloobhujiyaay@reddit
Could even extend this with tags or a simple search later on
AvonMustang@reddit
Kinda interesting…