diff options
author | Sean McCleary <sean@sean-desktop.(none)> | 2009-10-23 11:59:24 -0700 |
---|---|---|
committer | Sean McCleary <sean@sean-desktop.(none)> | 2009-10-23 11:59:24 -0700 |
commit | 83907294d640d910968cf9152d11c6a5ab3205f5 (patch) | |
tree | 64a14d115be3e18a2a01d9f674f7626ef4706fd8 | |
parent | c03aab51645fa7448f4e92b09ab00e2de989010e (diff) | |
download | zsh-83907294d640d910968cf9152d11c6a5ab3205f5.tar.gz zsh-83907294d640d910968cf9152d11c6a5ab3205f5.tar.bz2 zsh-83907294d640d910968cf9152d11c6a5ab3205f5.zip |
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
-rw-r--r-- | lib/rake_completion.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rake_completion.zsh b/lib/rake_completion.zsh index c425a625e..9ee8213ae 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 -f%m .rake_tasks~) - changed=$(stat -f%m Rakefile) + accurate=$(stat -c "%n" .rake_tasks~) + changed=$(stat -c "%n" Rakefile) return $(expr $accurate '>=' $changed) fi } |