101758f63d8f3417615918851f6b4dcd7e378354

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #4481 from apjanke/autoenv-emerg-fix

autoenv: actually source autoenv once located

Diff

 1diff --git a/plugins/autoenv/autoenv.plugin.zsh b/plugins/autoenv/autoenv.plugin.zsh
 2index c9f968118706b4e882fe61cd1bd494cc01c62ac7..ea2e56dd6149d748ae65791fd2618921e6c7cf19 100644
 3--- a/plugins/autoenv/autoenv.plugin.zsh
 4+++ b/plugins/autoenv/autoenv.plugin.zsh
 5@@ -17,6 +17,7 @@ In the meantime the autoenv plugin is DISABLED.
 6 END
 7     return 1
 8   fi
 9+  source $autoenv_dir/activate.sh
10 fi
11 }
12 [[ $? != 0 ]] && return $?