summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-01-07 16:12:03 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-01-07 16:12:03 +0100
commite830a28a67b8b0ad7dc722938379300b46ecc9c9 (patch)
tree898622a30b51d02c8e555f8c62d6d50d46936785
parent3875542394c219d2e747988db269fc2bbeec256c (diff)
profile: Only exec calendar if everything needed is installed
-rw-r--r--etc/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/profile b/etc/profile
index 88ba6a4..07e7644 100644
--- a/etc/profile
+++ b/etc/profile
@@ -7,6 +7,6 @@ if (( ZPROFILE == 0 )) {
ZPROFILE=1
} else {
check_com -c todo && gtd-todo
- calendar
+ check_com -f calendar && [[ -r ~/stuff/calendar ]] && calendar
unset ZPROFILE
}