summaryrefslogtreecommitdiff
path: root/01_Functions.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@openwide.fr>2009-07-31 09:52:59 +0200
committerHugues Hiegel <hugues.hiegel@openwide.fr>2009-07-31 09:52:59 +0200
commiteddf06b830b2ff5422515c9df76322e567f18f8e (patch)
tree8521172bbb752e2da5b2cca946893f15829d0b7d /01_Functions.zsh
parent018373e9222d939cad98a2264cf4d1eeeb0943dc (diff)
[Funcs] When only when .when exists. Yeah, really.
Diffstat (limited to '01_Functions.zsh')
-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"`