summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/alias/short3
-rw-r--r--etc/completions/_gtd4
-rw-r--r--etc/function2
-rw-r--r--etc/functions/gtd6
4 files changed, 4 insertions, 11 deletions
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