From 2d4f94f2163c5bebabad7149fdc0b20434d4e0d0 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 20 Oct 2008 16:44:27 +0200 Subject: Added q&d gtd stuff --- etc/completions/_gtd | 4 ++++ etc/functions/gtd | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 etc/completions/_gtd create mode 100644 etc/functions/gtd (limited to 'etc') 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 -- cgit v1.2.3