Created
February 8, 2020 17:11
-
-
Save finia2NA/c01422eb5866e438b80cb2e4a7743b49 to your computer and use it in GitHub Desktop.
Script for managing a journal using git and gedit.
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
# 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