浏览代码

autoenv: actually source autoenv once located

Fixes bug introduced in #4440
Andrew Janke 8 年之前
父节点
当前提交
2d0e7fbdad
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      plugins/autoenv/autoenv.plugin.zsh

+ 1 - 0
plugins/autoenv/autoenv.plugin.zsh

@@ -17,6 +17,7 @@ In the meantime the autoenv plugin is DISABLED.
 END
     return 1
   fi
+  source $autoenv_dir/activate.sh
 fi
 }
 [[ $? != 0 ]] && return $?