Created
March 20, 2020 17:55
-
-
Save namelessjon/27d6cad11701de55a0867a7d32b9749f to your computer and use it in GitHub Desktop.
Simple script that manages my diary
This file contains hidden or 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
#!/usr/bin/sh | |
cd $HOME/Documents/diary | |
vim -c 'set spell' -c 'hi SpellBad cterm=underline,bold' '+normal Go' diary.md | |
git add . | |
git commit --message "Diary $(date +%Y-%m-%d)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment