diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-20 16:44:27 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-20 16:44:27 +0200 |
commit | 2d4f94f2163c5bebabad7149fdc0b20434d4e0d0 (patch) | |
tree | 9365b934f9bedcd26086bff169160be061386294 | |
parent | 68b2cecb32a19bbdd7a0b9b48802bb8e07e65fc7 (diff) |
Added q&d gtd stuff
-rw-r--r-- | etc/completions/_gtd | 4 | ||||
-rw-r--r-- | etc/functions/gtd | 6 |
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 |