diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-18 15:45:02 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-18 15:45:02 +0200 |
commit | 054955db38bb571c294b5d86c78639e3b1091031 (patch) | |
tree | 6dd4b42405c4693cd35ad6b7d07b163cfcb584f5 /.local/bin/sync-todo.sh | |
parent | Added emacs config (diff) | |
download | dotfiles-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 '.local/bin/sync-todo.sh')
-rwxr-xr-x | .local/bin/sync-todo.sh | 7 |
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 |