summaryrefslogtreecommitdiff
path: root/plugins/autoenv
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2017-01-08 09:27:16 -0700
committerTuowen Zhao <ztuowen@gmail.com>2017-01-08 09:27:16 -0700
commit6d32b9ed978e491e79959ce73bd5e742f501c550 (patch)
tree15ccfa93521c93389a257e6cf45799b35fdaadae /plugins/autoenv
parent46d819df1a131a482618c324099947580f40b276 (diff)
parentcae540f899b1e302e514e190f7d51331a5a689e0 (diff)
downloadzsh-6d32b9ed978e491e79959ce73bd5e742f501c550.tar.gz
zsh-6d32b9ed978e491e79959ce73bd5e742f501c550.tar.bz2
zsh-6d32b9ed978e491e79959ce73bd5e742f501c550.zip
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/autoenv')
-rw-r--r--plugins/autoenv/autoenv.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/autoenv/autoenv.plugin.zsh b/plugins/autoenv/autoenv.plugin.zsh
index af58ee77b..3c1b0fafc 100644
--- a/plugins/autoenv/autoenv.plugin.zsh
+++ b/plugins/autoenv/autoenv.plugin.zsh
@@ -1,7 +1,7 @@
# Activates autoenv or reports its failure
() {
if ! type autoenv_init >/dev/null; then
- for d (~/.autoenv /usr/local/opt/autoenv /usr/local/bin); do
+ for d (~/.autoenv ~/.local/bin /usr/local/opt/autoenv /usr/local/bin); do
if [[ -e $d/activate.sh ]]; then
autoenv_dir=$d
break