X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=src%2F.bash_profile;h=b946370ebfd380858abc2534f42443c049e06b4b;hb=4010cb2389835dd7b82875bf0ee46847f5ac1161;hp=5c790a47edc0074f9325fc5bf1ae8a8c70217c31;hpb=9d8da5475f24a82db6db6a10bc74adcdd90fe4ab;p=dotfiles-public.git diff --git a/src/.bash_profile b/src/.bash_profile index 5c790a4..b946370 100644 --- a/src/.bash_profile +++ b/src/.bash_profile @@ -13,6 +13,7 @@ fi # print my calendar if I've configured it # http://bsdcalendar.sourceforge.net/ (Gentoo: app-misc/calendar) -if [ -f ~/.calendar/calendar ]; then +CALENDAR=$(which calendar 2> /dev/null) +if [ -n "${CALENDAR}" ] && [ -f ~/.calendar/calendar ]; then calendar fi