summaryrefslogtreecommitdiffstats
path: root/.local/bin/sync-todo.sh
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-18 15:45:02 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-18 15:45:02 +0200
commit054955db38bb571c294b5d86c78639e3b1091031 (patch)
tree6dd4b42405c4693cd35ad6b7d07b163cfcb584f5 /.local/bin/sync-todo.sh
parentAdded emacs config (diff)
downloaddotfiles-bsd-054955db38bb571c294b5d86c78639e3b1091031.tar.gz
dotfiles-bsd-054955db38bb571c294b5d86c78639e3b1091031.tar.bz2
dotfiles-bsd-054955db38bb571c294b5d86c78639e3b1091031.tar.xz
dotfiles-bsd-054955db38bb571c294b5d86c78639e3b1091031.tar.zst
dotfiles-bsd-054955db38bb571c294b5d86c78639e3b1091031.zip
Added scripts
Diffstat (limited to '')
-rwxr-xr-x.local/bin/sync-todo.sh7
1 files changed, 7 insertions, 0 deletions
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