Fix env loading on mac os x

This commit is contained in:
Jeffrey Morgan 2015-07-14 11:46:58 -07:00
parent b16944d30e
commit 7291c75daa
2 changed files with 1 additions and 6 deletions

View File

@ -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