summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-01-20 11:39:16 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-01-20 11:39:16 +0100
commit1681e0aeec0fdffd6bdc1e6abc128cba52fa380a (patch)
tree6ec66126a30bd679e9d91c500b831cf74eb16058
parent9f1a091426fc97102b981618980f3726e0a72896 (diff)
zprofile: Only show gtd-todo if var/gtd is available
-rw-r--r--etc/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/profile b/etc/profile
index 8014eae..4abd99f 100644
--- a/etc/profile
+++ b/etc/profile
@@ -6,7 +6,7 @@ if (( ZPROFILE == 0 )) {
[[ -r $HOME/packages/zsh/etc/local-profile ]] && source $HOME/packages/zsh/etc/local-profile
ZPROFILE=1
} else {
- check_com -c todo && gtd-todo
+ check_com -c todo && [[ -r ~/var/gtd/todo ]] && gtd-todo
check_com -c calendar && [[ -r ~/stuff/calendar ]] && calendar
unset ZPROFILE
}