Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
5fe112eb
Commit
5fe112eb
authored
Oct 26, 2009
by
Robby Russell
Browse files
Merge branch 'master' of
git://github.com/mrinterweb/oh-my-zsh
into mrinterweb/master
parents
58bccaf6
83907294
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/rake_completion.zsh
View file @
5fe112eb
_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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment