summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-03-23 13:35:50 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2010-03-23 13:35:50 +0100
commit9d78b3b9a11d91b9f0188287b87a09756ac5b08c (patch)
treeec37c2e74034e1defebe027c5e0c6d8daa759e0a
parent09faba9b150078555dd5b3687104104bb8b95284 (diff)
Don't show gtd-todo in .zlogin, it's too slow
-rw-r--r--etc/login4
-rwxr-xr-xhelpers/info5
-rw-r--r--links1
3 files changed, 5 insertions, 5 deletions
diff --git a/etc/login b/etc/login
deleted file mode 100644
index 0fb05ca..0000000
--- a/etc/login
+++ /dev/null
@@ -1,4 +0,0 @@
-## vim:ft=zsh
-[[ -n $commands[todo] ]] && [[ -r ~/var/gtd/todo ]] && gtd-todo
-[[ -n $commands[calendar] ]] && [[ -r ~/stuff/calendar ]] && calendar
-true
diff --git a/helpers/info b/helpers/info
new file mode 100755
index 0000000..452e64e
--- /dev/null
+++ b/helpers/info
@@ -0,0 +1,5 @@
+#!/usr/bin/env zsh
+[[ -n $commands[todo] ]] && [[ -r ~/var/gtd/todo ]] && \
+ todo --database /home/derf/var/gtd/todo
+[[ -n $commands[calendar] ]] && [[ -r ~/stuff/calendar ]] && calendar
+true
diff --git a/links b/links
index 18ca25a..1bb1b37 100644
--- a/links
+++ b/links
@@ -1,5 +1,4 @@
soft .zshrc $etc/rc
soft .zprofile $etc/profile
-soft .zlogin $etc/login
soft .zlogout $etc/logout
soft .zshenv $etc/env