mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
9 lines
348 B
Bash
9 lines
348 B
Bash
# Activates autoenv or reports its failure
|
|
if ! source $HOME/.autoenv/activate.sh 2>/dev/null; then
|
|
echo '-------- AUTOENV ---------'
|
|
echo 'Could not find ~/.autoenv/activate.sh.'
|
|
echo 'Please check if autoenv is correctly installed.'
|
|
echo 'In the meantime the autoenv plugin is DISABLED.'
|
|
echo '--------------------------'
|
|
return 1
|
|
fi
|