improved dm prompting
parent
6aa275ecb2
commit
b19ecfb8ae
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue