10 lines
236 B
Plaintext
Raw Normal View History

2013-01-19 17:18:29 +04:00
#compdef rake
2013-04-25 20:23:31 +04:00
2013-01-19 17:18:29 +04:00
if [ -f Rakefile ]; then
recent=`last_modified .rake_tasks~ Rakefile **/*.rake`
if [[ $recent != '.rake_tasks~' ]]; then
rake --silent --tasks | cut -d " " -f 2 > .rake_tasks~
fi
compadd `cat .rake_tasks~`
fi