summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-10-20 16:44:27 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-10-20 16:44:27 +0200
commit2d4f94f2163c5bebabad7149fdc0b20434d4e0d0 (patch)
tree9365b934f9bedcd26086bff169160be061386294 /etc
parent68b2cecb32a19bbdd7a0b9b48802bb8e07e65fc7 (diff)
Added q&d gtd stuff
Diffstat (limited to 'etc')
-rw-r--r--etc/completions/_gtd4
-rw-r--r--etc/functions/gtd6
2 files changed, 10 insertions, 0 deletions
diff --git a/etc/completions/_gtd b/etc/completions/_gtd
new file mode 100644
index 0000000..85e2428
--- /dev/null
+++ b/etc/completions/_gtd
@@ -0,0 +1,4 @@
+#compdef gtd
+
+_arguments -s \
+ '1:action:(todo waiting)'
diff --git a/etc/functions/gtd b/etc/functions/gtd
new file mode 100644
index 0000000..421ff9c
--- /dev/null
+++ b/etc/functions/gtd
@@ -0,0 +1,6 @@
+## vim:ft=zsh
+
+case $1 in
+ todo) todo --database ~/var/gtd/todo ;;
+ waiting) todo --database ~/var/gtd/waiting-for ;;
+esac