HOSTNAME=$(hostname)
TMPDIR=~/tmp
export TMPDIR
-. ~/.ssh/ssh_agent_info_${HOSTNAME}
+if [ -e ~/.ssh/ssh_agent_info_${HOSTNAME} ]; then
+ . ~/.ssh/ssh_agent_info_${HOSTNAME}
+fi;
LOCKOPTS=-q
if [ -n "$PS1" ]; then
LOCKOPTS=-f;
with-lock-ex $LOCKOPTS $TMPDIR/update_org_ical timeout -k1m 1m emacsclient -n -e '(org-save-all-org-buffers)' >/dev/null 2>&1
fi;
yes|with-lock-ex $LOCKOPTS $TMPDIR/update_org_ical timeout -k1m 3m emacs --batch -l ~/.emacs \
+ --eval "(setq org-confirm-babel-evaluate nil)" \
--eval '(setq org-icalendar-combined-description "Don Armstrong’s Calendar (org-mode)")' \
--eval '(setq org-icalendar-combined-name "Don Armstrong (org-mode)")' \
--eval "(setq org-icalendar-combined-agenda-file \"$TMPDIR/org.ics\")" \