rake-fast: change variable name from `$path' to `$file'
This solves a problem of using the variable name `$path' which then
smashes the environment variable `$PATH' and messes up the session.
See https://github.com/robbyrussell/oh-my-zsh/pull/5343#issuecomment-243043098
Diff
1diff --git a/plugins/rake-fast/rake-fast.plugin.zsh b/plugins/rake-fast/rake-fast.plugin.zsh
2index a594ca923427d73dd059b07ee3d0ce45bf11036e..ca80d86e129649073612aca6587b29662864fba9 100644
3--- a/plugins/rake-fast/rake-fast.plugin.zsh
4+++ b/plugins/rake-fast/rake-fast.plugin.zsh
5@@ -7,11 +7,11 @@ _is_rails_app () {
6 }
7 8 _tasks_changed () {
9- local -a paths
10- paths=(lib/tasks lib/tasks/**/*(N))
11+ local -a files
12+ files=(lib/tasks lib/tasks/**/*(N))
1314- for path in $paths; do
15- if [[ "$path" -nt .rake_tasks ]]; then
16+ for file in $files; do
17+ if [[ "$file" -nt .rake_tasks ]]; then
18 return 0
19 fi
20 done