mirror of https://github.com/docker/docs.git
Fix env loading on mac os x
This commit is contained in:
parent
b16944d30e
commit
7291c75daa
Binary file not shown.
|
|
@ -52,9 +52,4 @@ EOF
|
||||||
echo -e "${BLUE}docker${NC} is configured to use the ${GREEN}dev${NC} machine with IP ${GREEN}$($DOCKER_MACHINE ip dev)${NC}"
|
echo -e "${BLUE}docker${NC} is configured to use the ${GREEN}dev${NC} machine with IP ${GREEN}$($DOCKER_MACHINE ip dev)${NC}"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
if [[ $SHELL == *"fish" ]]; then
|
eval $($DOCKER_MACHINE env $VM --shell=bash)
|
||||||
$SHELL -c "eval ($DOCKER_MACHINE env $VM)"
|
|
||||||
else
|
|
||||||
$SHELL -c "eval $($DOCKER_MACHINE env $VM)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue