From 0d61990ee6b9d5d39cf06b9cb4c9e3152aacc4f0 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 20 Oct 2008 22:27:26 +0200 Subject: Replaced gtd function by aliases for now --- etc/alias/short | 3 +++ etc/completions/_gtd | 4 ---- etc/function | 2 +- etc/functions/gtd | 6 ------ 4 files changed, 4 insertions(+), 11 deletions(-) delete mode 100644 etc/completions/_gtd delete mode 100644 etc/functions/gtd diff --git a/etc/alias/short b/etc/alias/short index b5021b5..58ed224 100644 --- a/etc/alias/short +++ b/etc/alias/short @@ -32,6 +32,9 @@ alias gits='git status' alias git-grep='grep --exclude-dir=.git -r' alias git-serve='git-daemon --verbose --export-all --base-path=. .' +alias gtd-todo='todo --database ~/var/gtd/todo' +alias gtd-wait='todo --database ~/var/gtd/waiting-for' + ## Mercurial (hg) alias hga='hg add' alias hgar='hg addremove' diff --git a/etc/completions/_gtd b/etc/completions/_gtd deleted file mode 100644 index 85e2428..0000000 --- a/etc/completions/_gtd +++ /dev/null @@ -1,4 +0,0 @@ -#compdef gtd - -_arguments -s \ - '1:action:(todo waiting)' diff --git a/etc/function b/etc/function index 726cb30..01d6dfd 100644 --- a/etc/function +++ b/etc/function @@ -7,7 +7,7 @@ autoload catch throw autoload zargs # own functions -autoload check_com chpwd dirinfo extr gtd plonkhost put reload rtab salias +autoload check_com chpwd dirinfo extr plonkhost put reload rtab salias autoload world-readable xexport xsource youtube-watch colors diff --git a/etc/functions/gtd b/etc/functions/gtd deleted file mode 100644 index 421ff9c..0000000 --- a/etc/functions/gtd +++ /dev/null @@ -1,6 +0,0 @@ -## vim:ft=zsh - -case $1 in - todo) todo --database ~/var/gtd/todo ;; - waiting) todo --database ~/var/gtd/waiting-for ;; -esac -- cgit v1.2.3