diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-01-26 11:16:20 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-01-26 11:16:20 +0100 |
commit | 0a553918c21ad1a823cf8f098684494b2d27a1cd (patch) | |
tree | b28f1ce59ac48cbb2723b1e1ce15318dfc6af1c2 /etc | |
parent | dfc85e3fb812f031977312384f347a35a79f5e79 (diff) |
etc/alias/short: Made gtd aliases more flexible
Diffstat (limited to 'etc')
-rw-r--r-- | etc/alias/short | 6 |
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' |