Skip to content

Instantly share code, notes, and snippets.

@finia2NA
Created February 8, 2020 17:11
Show Gist options
  • Save finia2NA/c01422eb5866e438b80cb2e4a7743b49 to your computer and use it in GitHub Desktop.
Save finia2NA/c01422eb5866e438b80cb2e4a7743b49 to your computer and use it in GitHub Desktop.
Script for managing a journal using git and gedit.
# put your journal files in sources/ .
# use this script to start editing.
git pull && ls sources/ | dmenu -l 8 | gedit $(awk '{print "sources/" $0}') -w --new-window && git add . && git commit -m "Entry $(date)" && git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment