Skip to content

Instantly share code, notes, and snippets.

@namelessjon
Created March 20, 2020 17:55
Show Gist options
  • Save namelessjon/27d6cad11701de55a0867a7d32b9749f to your computer and use it in GitHub Desktop.
Save namelessjon/27d6cad11701de55a0867a7d32b9749f to your computer and use it in GitHub Desktop.
Simple script that manages my diary
#!/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