summaryrefslogtreecommitdiff
path: root/EXAMPLES
diff options
context:
space:
mode:
authorTobias Brox <tobias@redpill-linpro.com>2017-08-30 21:51:54 +0200
committerTobias Brox <tobias@redpill-linpro.com>2017-08-30 21:51:54 +0200
commit7e468a976711c4fcaed95cc6f0ca55983518e89c (patch)
tree508652714b9e65972820bd49c0289b7fda55c53e /EXAMPLES
parent4df23c9f0e4be45a4a053cb290d2533516cb0e85 (diff)
downloadcalendar-cli-7e468a976711c4fcaed95cc6f0ca55983518e89c.zip
bugfixing
Diffstat (limited to 'EXAMPLES')
-rw-r--r--EXAMPLES9
1 files changed, 5 insertions, 4 deletions
diff --git a/EXAMPLES b/EXAMPLES
index 0a770bf..97b7c8b 100644
--- a/EXAMPLES
+++ b/EXAMPLES
@@ -4,9 +4,6 @@
[ -z "$EDITOR" ] && EDITOR=vi
-## Simple sync of a google calendar into personal calendar
-wget -O- https://www.google.com/calendar/ical/gsmk.gcal%40gmail.com/public/basic.ics | calendar-cli calendar addics
-
echo "Enter a category or enter for all:"
read category
if [ -n "$category" ]
@@ -47,10 +44,10 @@ then
$EDITOR $tempfile2
done
. $tempfile2
+ rm $tempfile2
else
echo "No uncategorized todo-items on the calendar. Good!"
fi
-rm $tempfile2
## Interactively mark tasks as completed:
@@ -87,5 +84,9 @@ then
. $tempfile
fi
+## Simple sync of a google calendar into personal calendar
+wget -O- https://www.google.com/calendar/ical/gsmk.gcal%40gmail.com/public/basic.ics | calendar-cli calendar addics
+
+
echo "Done!"