summaryrefslogtreecommitdiff
path: root/01_Functions.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2009-07-22 10:04:38 +0200
committerHugues Hiegel <hugues@hiegel.fr>2009-07-22 10:04:38 +0200
commitbf5da6fc3bb3cffca664db1b3a5184532cd9cfdd (patch)
treeaadbdcb43151768d60ccadb07e978b67240a4d63 /01_Functions.zsh
parent06d3266ec54838bcdf70517c9b974dd935a42143 (diff)
[Funcs] bug while testing 'when' command and .today file..
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 ca05acd..5ec09fd 100644
--- a/01_Functions.zsh
+++ b/01_Functions.zsh
@@ -272,7 +272,7 @@ set_prompt_colors ()
chpwd()
{
- if cmd_exists when && [ -e .when/.today ]
+ if cmd_exists when
then
LATEST=`stat 2>&- --printf="%z\n" .when/.today | cut -d' ' -f1`
TODAY=`date "+%Y-%m-%d"`