From c36f73d4d4f077ac8bc0807e796ded2ba339b3f6 Mon Sep 17 00:00:00 2001 From: Robby Russell Date: Sun, 8 Nov 2009 15:24:20 -0800 Subject: [PATCH] Revert "Fixed issue #19 'Rake not auto completing'. The stat command syntax that was being used was not correct. Or at least on my machine. See man page for the stat command" This reverts commit 83907294d640d910968cf9152d11c6a5ab3205f5. --- lib/rake_completion.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rake_completion.zsh b/lib/rake_completion.zsh index 9ee8213a..c425a625 100644 --- a/lib/rake_completion.zsh +++ b/lib/rake_completion.zsh @@ -1,8 +1,8 @@ _rake_does_task_list_need_generating () { if [ ! -f .rake_tasks~ ]; then return 0; else - accurate=$(stat -c "%n" .rake_tasks~) - changed=$(stat -c "%n" Rakefile) + accurate=$(stat -f%m .rake_tasks~) + changed=$(stat -f%m Rakefile) return $(expr $accurate '>=' $changed) fi }