|
@@ -1,7 +1,7 @@
|
|
# Activates autoenv or reports its failure
|
|
# Activates autoenv or reports its failure
|
|
() {
|
|
() {
|
|
if ! type autoenv_init >/dev/null; then
|
|
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
|
|
if [[ -e $d/activate.sh ]]; then
|
|
autoenv_dir=$d
|
|
autoenv_dir=$d
|
|
break
|
|
break
|