From 1681e0aeec0fdffd6bdc1e6abc128cba52fa380a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 20 Jan 2009 11:39:16 +0100 Subject: zprofile: Only show gtd-todo if var/gtd is available --- etc/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3