diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-03-19 07:16:48 +0900 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-03-21 08:50:16 +0900 |
commit | 1e27439a4547d005c11eb7e671ea740305c38e80 (patch) | |
tree | 3b36656dcb2f7f392c7196cda1dd19477bdd0c82 | |
parent | 31f8af92b9a93db0b455bea2615e195d590e938f (diff) | |
download | dotfiles-1e27439a4547d005c11eb7e671ea740305c38e80.tar.gz |
mr sync for ~/doc
-rw-r--r-- | .emacs.d/eshell/alias | 2 | ||||
-rw-r--r-- | home-mrconfig | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.emacs.d/eshell/alias b/.emacs.d/eshell/alias index a5a23fbb..6620ecb0 100644 --- a/.emacs.d/eshell/alias +++ b/.emacs.d/eshell/alias @@ -4,7 +4,7 @@ alias g git $* alias d dired $1 alias ga git annex $* alias blank sleep 1;xset dpms force off -alias docs cd ~/doc;mr autoci;git pull;git push +alias docs cd ~/doc && mr sync alias annex-to-ma cd ~/lib/annex;ga copy -t metaarray --auto --fast alias git-rebase-host-branch git rebase master;git checkout ${hostname};git rebase master alias git-push-host-branch git push origin master +${hostname} diff --git a/home-mrconfig b/home-mrconfig index 2ec2809b..7752979d 100644 --- a/home-mrconfig +++ b/home-mrconfig @@ -342,6 +342,9 @@ pre_update = if ! win32; then doccheckin; fi # ... and let me do it manually autoci = doccheckin +# quick syncs +sync = doccheckin && git pull && git push + # after pulling, update the online copy of my Org-mode agenda # currently disabled because it's slow and with a computer at work I've not been checking this online copy # post_update = echo -n "Updating web calendar... ";emacs -batch -l ~/.emacs.d/init.el -eval "(org-batch-store-agenda-views)" >/dev/null 2>/dev/null;echo "hopefully done." |