From 054955db38bb571c294b5d86c78639e3b1091031 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 18 Jul 2020 15:45:02 +0200 Subject: Added scripts --- .local/bin/sync-todo.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 .local/bin/sync-todo.sh (limited to '.local/bin/sync-todo.sh') diff --git a/.local/bin/sync-todo.sh b/.local/bin/sync-todo.sh new file mode 100755 index 0000000..21001d3 --- /dev/null +++ b/.local/bin/sync-todo.sh @@ -0,0 +1,7 @@ +#!/usr/local/bin/dash + +date=$(date) +git -C /usr/home/jozan/.emacs.d/org/todo add . >/dev/null 2>&1 +git -C /usr/home/jozan/.emacs.d/org/todo commit -m "$date" >/dev/null 2>&1 || exit 1 +git -C /usr/home/jozan/.emacs.d/org/todo push origin master >/dev/null 2>&1 +exit -- cgit v1.2.3