Skip to content

Commit

Permalink
Revert "Fixed issue ohmyzsh#19 'Rake not auto completing'. The stat c…
Browse files Browse the repository at this point in the history
…ommand syntax that was being used was not correct. Or at least on my machine. See man page for the stat command"

This reverts commit 8390729.
  • Loading branch information
robbyrussell committed Nov 8, 2009
1 parent 97c6664 commit 286559d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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
}
Expand Down

0 comments on commit 286559d

Please sign in to comment.