summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--01_Functions.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/01_Functions.zsh b/01_Functions.zsh
index 4c376c9..e1370e8 100644
--- a/01_Functions.zsh
+++ b/01_Functions.zsh
@@ -272,7 +272,7 @@ set_prompt_colors ()
chpwd()
{
- if cmd_exists when
+ if cmd_exists when && [ -e .when/birthdays ]
then
LATEST=`stat 2>&- --printf="%z\n" .when/.today | cut -d' ' -f1`
TODAY=`date "+%Y-%m-%d"`