mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 13:50:09 +00:00
Adding new path to look for activate.sh (#5654)
If autoenv was installed with pip and modifier --user, activate.sh will be at .local/bin
This commit is contained in:
parent
4608231b25
commit
cae540f899
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue