2d0e7fbdadce6a3d052ea0f33ccf9114a4b23c0a

Author
Andrew Janke <andrew@apjanke.net>
Committer
Andrew Janke <andrew@apjanke.net>
Date

Message

autoenv: actually source autoenv once located

Fixes bug introduced in #4440

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 $?