summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-10-20 22:27:26 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-10-20 22:27:26 +0200
commit0d61990ee6b9d5d39cf06b9cb4c9e3152aacc4f0 (patch)
tree8e29b818c8bd2072516a19755ea0aeca44300a89 /etc
parent4a26c2e401def20645b2b9ca15b2bcd8f98663d7 (diff)
Replaced gtd function by aliases for now
Diffstat (limited to 'etc')
-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