mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Merge branch 'master' of git://github.com/mrinterweb/oh-my-zsh into mrinterweb/master
This commit is contained in:
commit
5fe112eb4b
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
_rake_does_task_list_need_generating () {
|
_rake_does_task_list_need_generating () {
|
||||||
if [ ! -f .rake_tasks~ ]; then return 0;
|
if [ ! -f .rake_tasks~ ]; then return 0;
|
||||||
else
|
else
|
||||||
accurate=$(stat -f%m .rake_tasks~)
|
accurate=$(stat -c "%n" .rake_tasks~)
|
||||||
changed=$(stat -f%m Rakefile)
|
changed=$(stat -c "%n" Rakefile)
|
||||||
return $(expr $accurate '>=' $changed)
|
return $(expr $accurate '>=' $changed)
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue