summaryrefslogtreecommitdiff
path: root/etc/alias
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-01-26 11:16:20 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-01-26 11:16:20 +0100
commit0a553918c21ad1a823cf8f098684494b2d27a1cd (patch)
treeb28f1ce59ac48cbb2723b1e1ce15318dfc6af1c2 /etc/alias
parentdfc85e3fb812f031977312384f347a35a79f5e79 (diff)
etc/alias/short: Made gtd aliases more flexible
Diffstat (limited to 'etc/alias')
-rw-r--r--etc/alias/short6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/alias/short b/etc/alias/short
index cb15df2..cab5409 100644
--- a/etc/alias/short
+++ b/etc/alias/short
@@ -32,9 +32,9 @@ alias gits='git status'
alias grep-nogit='grep --exclude-dir=.git -r'
alias git-serve='git-daemon --verbose --export-all --base-path=. .'
-alias gtd-later='todo --database ~/var/gtd/later'
-alias gtd-todo='todo --database ~/var/gtd/todo'
-alias gtd-wait='todo --database ~/var/gtd/waiting-for'
+for i in ~/var/gtd/*(.N); {
+ alias gtd-${i:t}='todo --database '$i
+}
## Mercurial (hg)
alias hga='hg add'