improved dm prompting

moveTools
Adam Veldhousen 2015-10-22 13:47:17 -05:00
parent 6aa275ecb2
commit b19ecfb8ae
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B
1 changed files with 1 additions and 2 deletions

View File

@ -63,8 +63,7 @@ function dm() {
if [ -z $(docker-machine ls | grep $TARGET) ]; then
CREATE=false
echo "machine doesn't exist (yes to create)"
read CREATE
read -e -p "machine doesn't exist (yes to create): " CREATE
if [[ $CREATE == "yes" ]]; then
docker-machine create $TARGET
else